You must be logged in to post your query.
Home › Forums › Chart Support › Changing the Sort order of a Stacked Vertical Chart
I have a query that gets me data for the past three January’s. I am outputting a stacked bar vertical chart that comes out perfectly…. except I am stuck on the labeling of the X-Axis. If I use a date for the X axis value, then my x axis outputs a bunch of months between the three January’s. If I use a label for the Y axis, it comes out looking great (January 2018, January 2019, January 2020), exactly as I want it, but the order of the three months is reversed. I need it to show January 2020 first and January 2018 last.
Any help would greatly be appreciated.
Here is the JSFiddle for it.
Stacked Column Charts are plotted when multiple Column Charts with aligned x-values are plotted on same axis. Adding x-values to the dataPoints and reversing x-axis using reversed property should work fine in your case. Please take a look at this updated JSFiddle.
OMG… how did I miss that. That is abiout as simple as simple gets. THANK YOU!
You must be logged in to reply to this topic. Login/Register