Dashboards & Visualizations

how can I decrease the size of the FlashChart markers?

sideview
SplunkTrust
SplunkTrust

Is there a charting configuration that will decrease the size of the big square markers that line charts get when you have charting.chart.showMarkers set to True?

I'm developing a chart and there will often be a lot of null values from point to point. I have to leave charting.chart.nullValueMode set to 'gaps', (because in my data it would be very misleading to set it to either 'zero' or to 'connect')

Also there will sometimes be a point that has null values on either side. Due to how Splunk's charting works, unless I set 'charting.chart.showMarkers' to True, such points then end up invisible.

So therefore I have to have showMarkers on. Unfortunately they're quite big and chunky and I want to make them a lot smaller.

Based on the charting reference pages, ie:

http://www.splunk.com/base/Documentation/latest/Developer/CustomChartingConfig-chartlegend#valuemark...

and for brush lore, http://www.splunk.com/base/Documentation/latest/Developer/CustomChartingConfig-FontColorBrushPalette...,

it seems like there must be a way to do simple things like this, but it's a little short on examples here.

Tags (2)
0 Karma
1 Solution

sideview
SplunkTrust
SplunkTrust

It's just charting.chart.markerSize

so in addition to

<param name="charting.chart.showMarkers">true</param>

(make sure the true is lowercase btw) but then I just put

<param name="charting.chart.markerSize">5</param>

and it'll make the square markers only 5px on a side.

View solution in original post

0 Karma

sideview
SplunkTrust
SplunkTrust

It's just charting.chart.markerSize

so in addition to

<param name="charting.chart.showMarkers">true</param>

(make sure the true is lowercase btw) but then I just put

<param name="charting.chart.markerSize">5</param>

and it'll make the square markers only 5px on a side.

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...