...or do I need to raise an enhancement request?
Allowing only horizontal text labels only on x-axis point labels means that more often than not for the kinds of things I am charting, labels are compressed to a useless "start...end" name.
A common example is when creating distribution graphs with buckets named like "0-100", "1000-2000" etc. When you have more than a few of these, the number (and length) of the labels required means that the labels are unreadably truncated to "0...00" or "10...0", and you have to mouse over a data point on the chart to see what the value is.
Having a vertical label option would solve all of these problems as you then have a very small fixed width for all x-axis labels (ie. the height of one character).
We can do that via the simple XML
<option name="charting.axisLabelsX.majorLabelStyle.rotation">90</option>
Or <param name="charting.axisLabelsX.majorLabelStyle.rotation">90</param>
in advanced XML (only change is option->param). Unfortunately it is not supported by JSchart.
It gets placed in the XML file for the specific chart in question. There are several ways this can be accomplished. One is by navigating to manager -> user interface -> views. If this is simple XML, you can edit on the page itself by clicking the "Edit on" button and then clicking the "Edit XML" button.
could you tell me where I place this line? I want it to only effect charts I make, not the entire system.
Thx.
As far as I know it isn't possible at the moment. What I sometimes do in these cases is use a bar chart instead of a column one though even this isn't always satisfactory.
I'd raise it as an enhancement request though the next version of splunk is rumored to include support for html5. With this, you may be able to tweak more of the settings.