Dashboards & Visualizations

Chart line thickness (line width)

sfefcu
Path Finder

It is possible to make the lines thicker in a standard splunk line chart?

I found the "charting.lineWidth" option in the Chart Configuration Reference at http://docs.splunk.com/Documentation/Splunk/latest/Viz/ChartConfigurationReference.

However, when I add that to my XML, as such: <option name="charting.lineWidth">3</option>

Then I get the following: Warning on line 194: Unknown option name="charting.lineWidth" for node="chart"

Thanks in advance for your help.

0 Karma

thuhuongle
Explorer

I am using SPUNK7.3.0 and still can not using this properties. Any one have found a solution?

//create mylinechart
				var mylinechart = new ChartView({
					"id": "chart1",
					"charting.axisLabelsX.majorLabelStyle.rotation": "-45",
					"charting.axisTitleX.visibility": "visible",
					"charting.axisTitleY.visibility": "visible",
					"charting.chart": "line",
					"charting.drilldown": "all", //enable drilldown
					"charting.legend.placement": "none",
					"charting.fontColor": "#123456",
					"charting.seriesColors": '["#006699","#117711"]',
					"charting.backgroundColor": "#f8f8f8",
					"charting.lineWidth": "5px",
					"managerid": "search1",
					"el": $('#chart1')
				}, { tokens: true, tokenNamespace: "submitted" }).render();

 5px or 5.5 : un changeable the fix line width

0 Karma

cmerriman
Super Champion

@harsmarvania is correct. Line thickness, along with line styles and a few other visualizations weren't introduced until Splunk 7.0.0.

http://docs.splunk.com/Documentation/Splunk/7.0.0/ReleaseNotes/MeetSplunk
http://docs.splunk.com/Documentation/Splunk/7.0.0/Viz/ChartConfigurationReference

If you look up at the top right corner of the documentation (or in the URL) you can see the version of Splunk the documentation is referring to. I'd change it to 6.5.2 when you're browsing through documentation so you know what's available in that version.

If you're thinking about upgrading, here is some good documentation to go over before doing so:
http://docs.splunk.com/Documentation/Splunk/7.0.0/Installation/AboutupgradingREADTHISFIRST

harsmarvania57
SplunkTrust
SplunkTrust

Which version of Splunk are you running?

0 Karma

sfefcu
Path Finder

Splunk Enterprise 6.5.2

0 Karma

harsmarvania57
SplunkTrust
SplunkTrust

I am able to save this configuration in 6.4 and 6.6 however no effect in Graph. While looking at documentation they have provided this detail in Splunk 7 documentation so it looks like this feature introduced in Splunk 7 but I'll keep this as comment so someone else from community can help.

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...