I have a data source that is grouped to create a multi-series line chart. The category axis values for each series do not include all values seen in all other series, so I am using the series' "categoryField" property instead of the categoryAxis' "field" property.
I want to toggle between two types of information for the category axis. When the category axis is set to display date information, everything displays nicely. However when the category axis is switched to display a different type of information, the series are not plotted over-top of each other but instead side by side. This is in spite of the fact that the category axis values should be intermixed between the series.
See my example here: http://jsfiddle.net/yd6oxkfm/1/
When the Id toggle is clicked, the series are sorted by Id within each series, but the overall axis data is side by side (and not in sorted order), unless both series happen to have data for the same Id number. How can I get the series to plot as nicely for Id as they do for Date?
I want to toggle between two types of information for the category axis. When the category axis is set to display date information, everything displays nicely. However when the category axis is switched to display a different type of information, the series are not plotted over-top of each other but instead side by side. This is in spite of the fact that the category axis values should be intermixed between the series.
See my example here: http://jsfiddle.net/yd6oxkfm/1/
When the Id toggle is clicked, the series are sorted by Id within each series, but the overall axis data is side by side (and not in sorted order), unless both series happen to have data for the same Id number. How can I get the series to plot as nicely for Id as they do for Date?