I am new to TeeChart. Would like to see how to feed a Pie chart using dataset. i.e. Dataset has 2 columns of reson code and number.
thanks
Pie chart sample
Hi Beige,
Have you seen the Tutorial 8 - ADO Database access? YOu should find demos and tutorials at TeeChart programs group.
You'll find another simple example in this topic
I hope this helps.
Have you seen the Tutorial 8 - ADO Database access? YOu should find demos and tutorials at TeeChart programs group.
You'll find another simple example in this topic
I hope this helps.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
I still need help on how to set XValues.DataMember and YValue.DataMember. for example. I have a datatable with 2 columns with category and percentage.
The sample all shows
this.pie1.XValues.DataMember = "Angle";
this.pie1.XValues.Order =Steema.TeeChart.Styles.ValueListOrder.Ascending;
this.pie1.YValues.DataMember = "Pie";
what "Angle" and "Pie" come from?
The sample all shows
this.pie1.XValues.DataMember = "Angle";
this.pie1.XValues.Order =Steema.TeeChart.Styles.ValueListOrder.Ascending;
this.pie1.YValues.DataMember = "Pie";
what "Angle" and "Pie" come from?
Hi Beige,
XValues.DataMember and YValues.DataMember should store the name of the column of the table you want to retrieve the info from.
So in that example, you table should have a column with angles, named "Angle". And another column probably with values, named "Pie".
If you still have problems with it, don't hesitate to let us know. And please, if possible, send us a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
XValues.DataMember and YValues.DataMember should store the name of the column of the table you want to retrieve the info from.
So in that example, you table should have a column with angles, named "Angle". And another column probably with values, named "Pie".
If you still have problems with it, don't hesitate to let us know. And please, if possible, send us a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |