I am displaying 2 or more BarSeries on a categorical x axis. If the first series has x values of "A", "D", and "G", and a second series has values of "B" and "C", the categories are displayed on the X axis, from left to right as A D G B C. I understand that the categories from the first axis are added first, then the categories from the second axis, etc. I want the categories to be sorted alphabetically: A B C D G.
I have tried creating a dummy series that has all possible x (category) values (sorted) and added it first to the chart (the y values are all zero). That does sort the categories, but it is unsatisfactory because my bar series are clustered. This reserves a space in the cluster for the fake 0 valued data point. I have tried to remove my fake series after adding my other series, but that does not work (I assume because it's removed before rendering takes place). I have also tried to set the visibility of the point to Collapsed for y values of zero, but that did not alter the clustering of the bars.
Any help is appreciated.
Thanks - Mitch
I have tried creating a dummy series that has all possible x (category) values (sorted) and added it first to the chart (the y values are all zero). That does sort the categories, but it is unsatisfactory because my bar series are clustered. This reserves a space in the cluster for the fake 0 valued data point. I have tried to remove my fake series after adding my other series, but that does not work (I assume because it's removed before rendering takes place). I have also tried to set the visibility of the point to Collapsed for y values of zero, but that did not alter the clustering of the bars.
Any help is appreciated.
Thanks - Mitch