Splunk Search

Remove chart axis labels

philallen1
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

Simon_Fishel
Splunk Employee
Splunk Employee

Try this:

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

View solution in original post

Simon_Fishel
Splunk Employee
Splunk Employee

Try this:

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

bhawkins1
Communicator
0 Karma

philallen1
Path Finder

Works like a dream. Thanks.

0 Karma

altink
Builder

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
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...