Values for Datatable

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
AIDev
Newbie
Newbie
Posts: 22
Joined: Wed May 23, 2007 12:00 am

Values for Datatable

Post by AIDev » Wed Sep 30, 2009 12:33 am

Sometimes when we display values in a bar chart with a datatable, it would be nice to show a different item in the datatable than that of the y value. For instance, we might have a series where anything less than zero is an invalid value. It would be nice to have no bar in the chart, and the string "Invalid" in the the datatable for that index. Is there a way to do this or something similar?

Thanks!

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Values for Datatable

Post by Sandra » Thu Oct 01, 2009 10:29 am

Hello AIDev,

If you have a datatable you could modify your data as you want, changing values of datatable according the Chart. On the other hand, if you don't want appear null values (or 0 values) in your chart you can put bar.Color = Color.Transparent this.


I hope will helps,

Thanks.
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

AIDev
Newbie
Newbie
Posts: 22
Joined: Wed May 23, 2007 12:00 am

Re: Values for Datatable

Post by AIDev » Fri Oct 02, 2009 10:44 pm

Hi Sandra,

I am sorry as I was a little vague with my question. I was referring to the TChart Datatable Tool, not a generic datatable.

If you were referring to the datatable tool, how do I change a value in the table to string?

Thanks!

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Values for Datatable

Post by Sandra » Mon Oct 05, 2009 7:54 am

Hello AIDev,

I was referring to the datatable generic. I am sorry but is not possible change values to tChart dataTable Tool. But, I recomend to use Chart Grid because this allows change values of table. You can send an example if you see TeeChartNet Demo concretly All Features\Welcome !\Components\Chart Grid.


I hope that will helps.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

AIDev
Newbie
Newbie
Posts: 22
Joined: Wed May 23, 2007 12:00 am

Re: Values for Datatable

Post by AIDev » Mon Oct 05, 2009 5:16 pm

Hi Sandra,

unfortunately the Chart Grid is not the representation we need. We need to show the data aligned with the graph.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Values for Datatable

Post by Sandra » Tue Oct 06, 2009 8:10 am

Hello AIDev,

I have added your propost of Datatable Tool on our to be considered for inclusion in future releases 4. Number of feature request is [TF02014466].


Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply