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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...