Separate IGChart's data axes and x-axis
Currently, the IGChart assumes an even distribution of data points. 12 points in sequence will spread evenly across the x-axis. Excel style charts in which the labels and density of the graph are predefined would be nice. Then non-uniform data points would be distributed along that graph in their correct location.
In the attached png, the top image is how three data points of values 1,2, and 5 would be distributed. The bottom is how that chart would look if the labels and x-axis were decoupled from the data series.
Thanks for the idea. It is a possible improvement we could make, to be sure.
Yes, it is understood that to satisfy our current need padding the dataset with NaN is a solution. However, it is our hope that in future releases of NucliOS that a separation of the x-axis and the dataset could be created so we would not need to use this workaround. On previous calls with NucliOS it was discussed that this may be on their backlog for their next volume release.
Graham Murray commented
The recommended method for achieving the bottom visual is to use a value of NaN for each data point that you do not wish to be shown in the chart. When using a series such as column, this will result in those columns not being shown, while, if using a series such as line or area, you have the option of either having discontinuities in the line shape for when there is a missing value, or instructing the series to use linear interpolation to fill in the gaps.