Dashboards & Visualizations

Chart line thickness (line width)

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


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

Super Champion

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


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:


Which version of Splunk are you running?

0 Karma

Path Finder

Splunk Enterprise 6.5.2

0 Karma


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
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!