The solution is explained on: http://docs.splunk.com/Documentation/Splunk/6.1.3/AdvancedDev/Chartcustomization
In my case, instead of legends A,B,C .. I just changed to B,C,A
[B,C,A]
@ tks that is useful
I just used this to have the legend appear in this order error,warn,info, so this is what you would do with whatever labels you are working for. It is very statis as I was looking for something more dynamic based on the values in the graph.
<option name="charting.legend.labels">[error,warn,info]</option>
Also I was looking at this, anyone know what this does?
<option name="charting.legend.labelStyle.overflowMode">ellipsisMiddle</option>
try the keyword num
.
see here http://docs.splunk.com/Documentation/Splunk/6.0.1/SearchReference/Sort