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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...