Hi,
I generate a chart (column chart) with varying number of series each containing varying number of data points.
The chart seems to only show the lowest number of data points and apply that to all series.
I can't find anything in the documentation regarding this but is it a requirement for each series to contain the exact same number of data points?
Regards,
Hi Marcin,
I was wrong earlier.
It is required that each series has the same number of data points. You may be able to work around this requirement by filling out your smaller dataset with empty data points. I've attached a sample that demonstrates this.
Please let me know if you have any questions.
Thanks for the information.
I display the value as label above each data point on the Y axis.
ItemFormat for Labels is set to DataValue.
Ideally, I want the placeholders to be empty and display nothing as the label. However, if empty, the actual mask displays as the mask(<DataItem:00.##>).
I see there is chart.Data.EmptyStyle, but cannot figure out how to display nothing for empty data points. Is that possible?
Thanks,
You should be able to hide empty data points by setting the chart's ColumnChart.NullHandling property. Many of the other chart types have a NullHandling property, as well. Please try this out and let me know if you can get it to look the way you need it to.
That worked perfectly.
Thank you for all your help.