Side Bar chart with 0 values

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
qcrnd
Advanced
Posts: 214
Joined: Mon Sep 04, 2006 12:00 am

Side Bar chart with 0 values

Post by qcrnd » Thu Jun 04, 2009 8:39 am

Hi
I have a bar chart with series of type MultiBar = Side. the series are side by side on the Bottom axis. The problem is that if I have many series I would like the ones with a zero value not to appear on the x Axis so as not to take up space. I tried setting the values to null
if (bar.YValues[j] == 0)
{
bar.SetNull(j);
}
but the problem is that they still take up space , and there will be a gap between one series and the other if there is a null value in between. I dont want 0 values to take up any space on the x Axis.

Please help.

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Thu Jun 04, 2009 11:24 am

Hi qcrnd,

I'm afraid that this wouldn't be easy to achieve. I've added it to the wish list to be implemented in future releases (TF02014209).
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

qcrnd
Advanced
Posts: 214
Joined: Mon Sep 04, 2006 12:00 am

Post by qcrnd » Thu Jun 04, 2009 12:22 pm

Ok Thanks.

Post Reply