1
Wordpress Plugins / Change the sort order of the group names on the x axis
« on: April 17, 2012, 03:23:16 PM »
Hi,
Thanks for this great plugin - it works beautifully. The only thing I'm wondering if there is a way to reorder the key of group names on the x-axis.
Here is the shortcode that I am using:
[easychart type="horizbar" title="Customer course rating (over past 5 years)" height="300" width="350" chartfadecolor="FFFFFF"
groupnames="Excellent,Good,OK,Poor" valuenames="2012,2011,2010,2009,2008"
group1values="110, 135, 160, 140, 75"
group2values="33, 20, 42, 27, 30"
group3values="7, 11, 2, 6, 9"
group4values="1, 0, 2, 0, 0"
groupcolors="B91127,333333,666666,999999"]
Even though the groupname order above is 'Excellent > Good > OK > Poor', it is currently displaying in the x-axis as 'OK > Good > Poor > Excellent'.
It's only a minor point, but would be great if the order of the groupnames in the axis key could match the order on the chart.
Any help on achieving this would be greatly appreciated.
Cheers
Dave
Thanks for this great plugin - it works beautifully. The only thing I'm wondering if there is a way to reorder the key of group names on the x-axis.
Here is the shortcode that I am using:
[easychart type="horizbar" title="Customer course rating (over past 5 years)" height="300" width="350" chartfadecolor="FFFFFF"
groupnames="Excellent,Good,OK,Poor" valuenames="2012,2011,2010,2009,2008"
group1values="110, 135, 160, 140, 75"
group2values="33, 20, 42, 27, 30"
group3values="7, 11, 2, 6, 9"
group4values="1, 0, 2, 0, 0"
groupcolors="B91127,333333,666666,999999"]
Even though the groupname order above is 'Excellent > Good > OK > Poor', it is currently displaying in the x-axis as 'OK > Good > Poor > Excellent'.
It's only a minor point, but would be great if the order of the groupnames in the axis key could match the order on the chart.
Any help on achieving this would be greatly appreciated.
Cheers
Dave