Side Bar chart with 0 values
Posted: 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.
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.