Dashboards & Visualizations

How to mark the highest and lowest values on a line graph?

markthompson
Builder

Hello,
I'd like to put an extra point on top of the highest and lowest values on a line graph, has anyone got any suggestions?

Tags (3)
1 Solution

MuS
Legend

Hi markthompson,

take a look at the maxSpotColor and minSpotColor here in the docs http://docs.splunk.com/Documentation/Splunk/6.2.1/Viz/PanelreferenceforSimplifiedXML

Hope that helps ...

cheers, MuS

View solution in original post

MuS
Legend

Hi markthompson,

take a look at the maxSpotColor and minSpotColor here in the docs http://docs.splunk.com/Documentation/Splunk/6.2.1/Viz/PanelreferenceforSimplifiedXML

Hope that helps ...

cheers, MuS

markthompson
Builder

Hi MuS,
Thanks for that, so would it just be chart maxSpotColor = ??

Then is it a hex value, or how should it be displayed?

0 Karma

MuS
Legend

This from the dashboard example app https://apps.splunk.com/app/1603/ where you can see how it is done using a sparkline, but this will work on a chart as well.

<table>
      <title>Basic Sparkline w/ Max Value Indicator</title>
      <searchString>index=_internal | chart count sparkline by sourcetype | sort -count</searchString>
      <earliestTime>-24h@h</earliestTime>
      <latestTime>now</latestTime>
      <option name="wrap">true</option>
      <option name="rowNumbers">true</option>
      <option name="dataOverlayMode">none</option>
      <option name="drilldown">cell</option>
      <option name="count">5</option>

      <!-- Set sparkline options here; make sure that field matches field name of the search results -->      
      <format type="sparkline" field="sparkline">
        <option name="lineColor">#5379af</option>
        <option name="fillColor">#CCDDFF</option>
        <option name="lineWidth">1</option>
        <option name="maxSpotColor">#A2FFA2</option>
        <option name="spotRadius">3</option>
        <option name="height">25px</option>
      </format>
    </table>
0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...