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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...