I am using a ColumnChart to display help desk tasks by team, by status. I have the chart set up and working, except for when there are no tasks for a status for a team. Whether I have a NULL in the datasource, and set
chart.ColumnChart.NullHandling = Infragistics.UltraChart.Shared.Styles.NullHandling.DontPlot;
or if it's passed in as a zero, and I try handling it in the ChartDrawItem, or FillSceneGraph, it leaves a space between the previous and next columns.
How can I get rid of these empty columns?
Hello Cory,
I have investigated this matter for you and I believe that what you require as functionality is not available. In the context of (axis)space occupied, it is possible to either show all of the columns for each series or hide a particular one for all series. There will unlikely be a meaningful case where you have 0 or null for a particular column in the data and would like to use it in this form and pass it to the chart and yet setting IncludeColumn method can be used to include/exclude such columns from the series.
It seems you are aware of what we currently have available out of the box and yet I am adding several online samples showing the current null data handling available.
https://es.infragistics.com/samples/aspnet/chart/null-data-handlinghttps://es.infragistics.com/samples/aspnet/chart/empty-data-display