Splunk Search

Remove chart axis labels

Path Finder

Hi

I have a JSChart:

<module name="HiddenChartFormatter">
    <param name="charting.chart.nullValueMode">gaps</param>
    <param name="charting.layout.splitSeries">true</param>
    <param name="charting.chart">line</param>
    <param name="charting.legend.placement">left</param>
    <param name="charting.chart.stackMode">default</param>
    <param name="charting.chart.sliceCollapsingThreshold">0</param>
    <param name="charting.secondaryAxis.minimumNumber">1.25</param>
    <param name="charting.secondaryAxis.maximumNumber">0.75</param>
    <param name="charting.chart.resultTruncationLimit">10000</param>
    <module name="JSChart">
        <param name="height">350px</param>
    </module>
    <module name="ViewRedirectorLink">
        <param name="viewTarget">flashtimeline</param>
</module>

How can I remove the y axis labels altogether? As you can see below, I'm getting the number '1' on my y axis, whereas I would like nothing at all. Is there a way I can turn off the y axis labels using a parameter? I've tried looking in the Splunk documentation but I find it very hard to find what I am looking for.

alt text

1 Solution

Splunk Employee
Splunk Employee

Try this:

<param name="charting.axisLabelsY.majorLabelVisibility">hide</param>

View solution in original post

Splunk Employee
Splunk Employee

Try this:

<param name="charting.axisLabelsY.majorLabelVisibility">hide</param>

View solution in original post

Communicator

See here for list of attributes - http://docs.splunk.com/Documentation/Splunk/6.5.1/Viz/ChartConfigurationReference#Area.2CBubble.2CBar.2CColumn.2CLine.2CandScatter_charts

0 Karma

Path Finder

Works like a dream. Thanks.

0 Karma

Contributor

Hello everyone

let me kindly ask you what happens now that this parameter is deprecated (at least on last version 6.3.3)?
Could not find anything to replace it - while it raises a Warning into the XML editor

best regards
Altin

0 Karma