TeeChart with iPaq (Mobile Device)??
Posted: Wed Aug 11, 2004 6:15 pm
Hi,
Im trying to show a chart in a iPaq form.
Im using the following code:
tChart1=new TChart();
tChart1.Bounds=new Rectangle(6,70,220,176);
tChart1.Parent=this;
// Chart Title
tChart1.Header.Text="Försäljning/prgrupp";
// Create horizontal bar series
horizBar1=new Steema.TeeChart.Styles.HorizBar();
DataTable employeeTable = Form1.myCustStat.Tables[0];
horizBar1.YValues.DataMember = employeeTable.Columns["Gross Value"].ColumnName;
horizBar1.LabelMember = employeeTable.Columns["ProdGrp Descr"].ColumnName;
horizBar1.DataSource = employeeTable;
horizBar1.Marks.Style = Steema.TeeChart.Styles.MarksStyles.Value;
horizBar1.ColorEach=true;
tChart1.Series.Add(horizBar1);
But i cant manage to get any chart. I dont get any error but nothing shows on the chart?!?!?!?
Have i missed anything????
Kindly,
Mattias Lindström
Datema AB
Im trying to show a chart in a iPaq form.
Im using the following code:
tChart1=new TChart();
tChart1.Bounds=new Rectangle(6,70,220,176);
tChart1.Parent=this;
// Chart Title
tChart1.Header.Text="Försäljning/prgrupp";
// Create horizontal bar series
horizBar1=new Steema.TeeChart.Styles.HorizBar();
DataTable employeeTable = Form1.myCustStat.Tables[0];
horizBar1.YValues.DataMember = employeeTable.Columns["Gross Value"].ColumnName;
horizBar1.LabelMember = employeeTable.Columns["ProdGrp Descr"].ColumnName;
horizBar1.DataSource = employeeTable;
horizBar1.Marks.Style = Steema.TeeChart.Styles.MarksStyles.Value;
horizBar1.ColorEach=true;
tChart1.Series.Add(horizBar1);
But i cant manage to get any chart. I dont get any error but nothing shows on the chart?!?!?!?
Have i missed anything????
Kindly,
Mattias Lindström
Datema AB