Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - bmlcreative

Pages: [1]
Thanks for the reply - unfortunately, changing the chart to a vertbar doesn't effect the sort order of the key. The order of the key doesn't seem to be related to the longest value, because if it did, then the order would be as I need it to.

The only thing I can see that it might be, is by number of characters in the value title determines the order, so:

OK (= 1st because only 2 characters), Good (= 2nd because has 4 characters), Poor (Also 4 characters but 3rd due to alphabetical sorting?), Excellent (= 4th due to having 9 characters)....

This is only a guess but is the only pattern/logic I can see?


Sorry guys - really need some advice on this one if possible... even if it's just a point in the right direction to the coding that controls the sort order?



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"

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.



Pages: [1]