<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using charting.lineDashStyle to edit only one line in graph in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-charting-lineDashStyle-to-edit-only-one-line-in-graph/m-p/553766#M38434</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/55192"&gt;@thuhuongle&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's working for me. Can you please try below code?&lt;/P&gt;&lt;P&gt;XML&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;dashboard script="timechart.js"&amp;gt;
  &amp;lt;label&amp;gt;time chart&amp;lt;/label&amp;gt;
  &amp;lt;search id="search1"&amp;gt;
    &amp;lt;query&amp;gt;index="_internal" | timechart count | eval count1=count+100&amp;lt;/query&amp;gt;
    &amp;lt;earliest&amp;gt;-60m@m&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
    &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;div id="chart1"/&amp;gt;
      &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;timechart.js&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;require([
    'underscore',
    'jquery',
    "splunkjs/mvc/chartview",
    'splunkjs/mvc/simplexml/ready!'
], function(_, $, ChartView) {
    console.log("Hiww")
    new ChartView({
        "id": "chart1",
        "resizable": true,
        "data": "results",
        "charting.lineWidth": "3px",
        "charting.fieldDashStyles": '{"count":"longDashDot", "count1":"dot"}',
        "charting.chart": "line",
        "charting.seriesColors": '["#000000", "#DDDDDD", "#006D9C", "#4FA484", "#EC9960", "#AF575A", "#B6C75A", "#62B3B2", "#294E70", "#738795", "#EDD051", "#BD9872" ]', //update
        "charting.fontColor": "#123456",
        "charting.backgroundColor": "#f8f8f8",
        "managerid": "search1",
        "el": $('#chart1')
    }, { tokens: true, tokenNamespace: "submitted" }).render();
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;KV&lt;BR /&gt;▄︻̷̿┻̿═━一&lt;BR /&gt;&lt;BR /&gt;If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Jun 2021 04:52:32 GMT</pubDate>
    <dc:creator>kamlesh_vaghela</dc:creator>
    <dc:date>2021-06-01T04:52:32Z</dc:date>
    <item>
      <title>Using charting.lineDashStyle to edit only one line in graph</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-charting-lineDashStyle-to-edit-only-one-line-in-graph/m-p/322958#M20828</link>
      <description>&lt;P&gt;I have created a stacked bar chart with two line overlays, of which one line is a target and therefore would like to edit the xml so that this appears in a dash format, whilst the other line remains solid. Is this possible?  Or can this only be done for all lines in graph.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 14:11:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-charting-lineDashStyle-to-edit-only-one-line-in-graph/m-p/322958#M20828</guid>
      <dc:creator>jackreeves</dc:creator>
      <dc:date>2017-09-04T14:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using charting.lineDashStyle to edit only one line in graph</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-charting-lineDashStyle-to-edit-only-one-line-in-graph/m-p/322959#M20829</link>
      <description>&lt;P&gt;@jackreeves, you can do this using Simple XML CSS Extension.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;svg&lt;/CODE&gt; displays series lines with various dash styles using &lt;CODE&gt;stroke-dasharray&lt;/CODE&gt; while drawing the &lt;CODE&gt;path&lt;/CODE&gt;. Refer to svg example on w3schools: &lt;A href="https://www.w3schools.com/graphics/svg_stroking.asp"&gt;https://www.w3schools.com/graphics/svg_stroking.asp&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Since you know the CSS selector for override is based on position of series rather than name of the series in svg chart, you would need to ensure the following:&lt;BR /&gt;
1) Your field &lt;CODE&gt;target&lt;/CODE&gt; should be at specific position and should always be present. In following example there are two series and &lt;CODE&gt;target&lt;/CODE&gt; series is at second position. Following are the selectors provided chart id is &lt;CODE&gt;id="chart1"&lt;/CODE&gt;. The CSS override converts &lt;CODE&gt;target&lt;/CODE&gt; series to Solid (even the Legend for target field). The other series/s should retain the line dash style set by Simple XML Chart configuration &lt;CODE&gt;charting.lineDashStyle&lt;/CODE&gt; i.e. &lt;CODE&gt;&amp;lt;option name="charting.lineDashStyle"&amp;gt;dashDot&amp;lt;/option&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;html depends="$alwaysHideCSS$"&amp;gt;
    &amp;lt;style&amp;gt;
      #chart1 svg g.highcharts-series-group g.highcharts-series:nth-child(3) path:nth-child(1){
        stroke-dasharray:none;
      }
      #chart1 svg g.highcharts-legend g g g.highcharts-legend-item:nth-child(2) path{
        stroke-dasharray:none;
      }
    &amp;lt;/style&amp;gt;
  &amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3463i76A91D2C94A5EDDB/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Following is the complete Simple XML example with a run anywhere search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;Line Dash Style CSS Override&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html depends="$alwaysHideCSS$"&amp;gt;
        &amp;lt;style&amp;gt;
          #chart1 svg g.highcharts-series-group g.highcharts-series:nth-child(3) path:nth-child(1){
            stroke-dasharray:none;
          }
          #chart1 svg g.highcharts-legend g g g.highcharts-legend-item:nth-child(2) path{
            stroke-dasharray:none;
          }
        &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;
      &amp;lt;chart id="chart1"&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal sourcetype=splunkd
| stats count by component
| accum count as target&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="height"&amp;gt;500&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;-90&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;line&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleMaximumSize"&amp;gt;50&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleMinimumSize"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleSizeBy"&amp;gt;area&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;gaps&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.overlayFields"&amp;gt;Cumu&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.showDataLabels"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.stackMode"&amp;gt;default&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.style"&amp;gt;shiny&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.layout.splitSeries.allowIndependentYRanges"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisStart&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.placement"&amp;gt;right&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.lineDashStyle"&amp;gt;dashDot&amp;lt;/option&amp;gt;        
        &amp;lt;option name="trellis.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.scales.shared"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.size"&amp;gt;medium&amp;lt;/option&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Sep 2017 18:41:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-charting-lineDashStyle-to-edit-only-one-line-in-graph/m-p/322959#M20829</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-09-04T18:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using charting.lineDashStyle to edit only one line in graph</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-charting-lineDashStyle-to-edit-only-one-line-in-graph/m-p/322960#M20830</link>
      <description>&lt;P&gt;@jackreeves, from&lt;CODE&gt;Splunk Enterprise 7.0&lt;/CODE&gt; this feature is inbuilt i.e. different series can have different styles applied through new Simple XML Chart Configuration called &lt;CODE&gt;charting.fieldDashStyles&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Foe example if you have two series &lt;CODE&gt;field1&lt;/CODE&gt; and &lt;CODE&gt;field2&lt;/CODE&gt; you can apply the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;option name="charting.fieldDashStyles"&amp;gt;{"field1":"solid", "field2":"shortDash"}&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can check out the same in &lt;CODE&gt;Splunk 7.0 Overview App&lt;/CODE&gt; from Splunkbase &lt;BR /&gt;
or read the documentation for Simple XML Chart Configuration and various series style options: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/ChartConfigurationReference#General_chart_properties"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Viz/ChartConfigurationReference#General_chart_properties&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 19:57:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-charting-lineDashStyle-to-edit-only-one-line-in-graph/m-p/322960#M20830</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-09-26T19:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using charting.lineDashStyle to edit only one line in graph</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-charting-lineDashStyle-to-edit-only-one-line-in-graph/m-p/553704#M38426</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201110"&gt;@niketn&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;I can use this property in XML format. However, i am not be able to use it in the WebFramework. Do I need a special quote to call this properties?&lt;BR /&gt;&lt;BR /&gt;charting.fieldDashStyles and&amp;nbsp;charting.lineWidth : not working&lt;BR /&gt;So far it does not work if i do like this:&lt;BR /&gt;&amp;nbsp;....&lt;BR /&gt;new ChartView({&lt;BR /&gt;"id": "chart1",&lt;BR /&gt;"resizable": true,&lt;BR /&gt;"data": "results",&lt;BR /&gt;"charting.fieldDashStyles":'{"Global":"longDashDot", "Objectif":"dot"}',&lt;BR /&gt;"charting.axisLabelsX.majorLabelStyle.rotation": "-45",&lt;BR /&gt;//"charting.axisLabelsY.majorUnit": "0.2",&lt;BR /&gt;//"charting.axisY.maximumNumber":"2",&lt;BR /&gt;//"charting.axisY.minimumNumber":"0",&lt;BR /&gt;"height": "450", //600 trop grand&lt;BR /&gt;"charting.axisTitleX.visibility": "visible", //"collapsed",&lt;BR /&gt;"charting.axisTitleY.visibility": "visible",&lt;BR /&gt;"charting.axisTitleY.text": "Taux de pannes mensuel",&lt;BR /&gt;"charting.chart": "line",&lt;BR /&gt;"charting.chart.showDataLabels": "none",&lt;BR /&gt;"charting.chart.nullValueMode":"connect",//"zero",&lt;BR /&gt;"charting.drilldown": "none",&lt;BR /&gt;"charting.legend.mode": "standard",&lt;BR /&gt;"charting.legend.placement": "top",&lt;BR /&gt;"charting.lineWidth":"3px",&lt;BR /&gt;"charting.seriesColors": '["#000000", "#DDDDDD", "#006D9C", "#4FA484", "#EC9960", "#AF575A", "#B6C75A", "#62B3B2", "#294E70", "#738795", "#EDD051", "#BD9872" ]', //update&lt;BR /&gt;"charting.fontColor": "#123456",&lt;BR /&gt;"charting.backgroundColor": "#f8f8f8",&lt;BR /&gt;"managerid": "search1",&lt;BR /&gt;"el": $('#chart1')&lt;BR /&gt;}, { tokens: true, tokenNamespace: "submitted" }).render();&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="gtx-trans-icon"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 31 May 2021 11:06:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-charting-lineDashStyle-to-edit-only-one-line-in-graph/m-p/553704#M38426</guid>
      <dc:creator>thuhuongle</dc:creator>
      <dc:date>2021-05-31T11:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using charting.lineDashStyle to edit only one line in graph</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-charting-lineDashStyle-to-edit-only-one-line-in-graph/m-p/553766#M38434</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/55192"&gt;@thuhuongle&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's working for me. Can you please try below code?&lt;/P&gt;&lt;P&gt;XML&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;dashboard script="timechart.js"&amp;gt;
  &amp;lt;label&amp;gt;time chart&amp;lt;/label&amp;gt;
  &amp;lt;search id="search1"&amp;gt;
    &amp;lt;query&amp;gt;index="_internal" | timechart count | eval count1=count+100&amp;lt;/query&amp;gt;
    &amp;lt;earliest&amp;gt;-60m@m&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
    &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;div id="chart1"/&amp;gt;
      &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;timechart.js&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;require([
    'underscore',
    'jquery',
    "splunkjs/mvc/chartview",
    'splunkjs/mvc/simplexml/ready!'
], function(_, $, ChartView) {
    console.log("Hiww")
    new ChartView({
        "id": "chart1",
        "resizable": true,
        "data": "results",
        "charting.lineWidth": "3px",
        "charting.fieldDashStyles": '{"count":"longDashDot", "count1":"dot"}',
        "charting.chart": "line",
        "charting.seriesColors": '["#000000", "#DDDDDD", "#006D9C", "#4FA484", "#EC9960", "#AF575A", "#B6C75A", "#62B3B2", "#294E70", "#738795", "#EDD051", "#BD9872" ]', //update
        "charting.fontColor": "#123456",
        "charting.backgroundColor": "#f8f8f8",
        "managerid": "search1",
        "el": $('#chart1')
    }, { tokens: true, tokenNamespace: "submitted" }).render();
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;KV&lt;BR /&gt;▄︻̷̿┻̿═━一&lt;BR /&gt;&lt;BR /&gt;If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 04:52:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-charting-lineDashStyle-to-edit-only-one-line-in-graph/m-p/553766#M38434</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-06-01T04:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using charting.lineDashStyle to edit only one line in graph</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-charting-lineDashStyle-to-edit-only-one-line-in-graph/m-p/553807#M38447</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/127939"&gt;@kamlesh_vaghela&lt;/a&gt; ,&lt;BR /&gt;So it required the library path. However ,simplexml is not avaiable in our system.&amp;nbsp; Do you know any css code or other way to walk arround. I want to apply "dot" into only oneline but not apply to do it event specify something like this "#chart1 svg g.highcharts-series-group g.highcharts-series:nth-child(8) path:nth-child(1)"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thuhuongle_0-1622543081238.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14384i61E864B75C08DDF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thuhuongle_0-1622543081238.png" alt="thuhuongle_0-1622543081238.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;/P&gt;&lt;PRE&gt;"splunkjs/mvc/simplexml/ready!"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 10:25:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-charting-lineDashStyle-to-edit-only-one-line-in-graph/m-p/553807#M38447</guid>
      <dc:creator>thuhuongle</dc:creator>
      <dc:date>2021-06-01T10:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using charting.lineDashStyle to edit only one line in graph</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-charting-lineDashStyle-to-edit-only-one-line-in-graph/m-p/553824#M38451</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/55192"&gt;@thuhuongle&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yeah.. We can achieve this by css. &amp;nbsp;I've tried below css.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/* LongDashDot */
#chart1 path.highcharts-graph {
	stroke-width: 8px !important;
	/* LongDashDot */
	stroke-dasharray: 16, 6;
	d: path("M 10 233 L 390 233");
}

/* Dot */
#chart1 path.highcharts-graph {
	stroke-width: 8px !important;
	/* Dot */
	d: path("M 10 173 L 390 173");
	stroke-dasharray: 2, 6;
}&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 01 Jun 2021 10:00:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-charting-lineDashStyle-to-edit-only-one-line-in-graph/m-p/553824#M38451</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-06-01T10:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using charting.lineDashStyle to edit only one line in graph</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-charting-lineDashStyle-to-edit-only-one-line-in-graph/m-p/553878#M38457</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/127939"&gt;@kamlesh_vaghela&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;it works. It is quite visible to see the transformation from solid to dot. Another pb is a &lt;STRONG&gt;d value&lt;/STRONG&gt; is changing so I did not works all the time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;        /*Global*/
        #chart1 svg g.highcharts-series-group g.highcharts-series:nth-child(1) path:nth-child(1){ 
            stroke-width: 4px !important;
        }
        /*Objectif-dot*/
        #chart1 svg g.highcharts-series-group g.highcharts-series:nth-child(2) path:nth-child(1){
            stroke-dasharray: 2, 6;
        }
        /*legend*/
        #chart1 svg g.highcharts-legend g g g.highcharts-legend-item:nth-child(1) path:nth-child(1){
            stroke-width: 4px !important;
        }
        #chart1 svg g.highcharts-legend g g g.highcharts-legend-item:nth-child(2) path:nth-child(1){
            stroke-dasharray: 2, 6;
        }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If i can do the opposite(all dot line, only one solid) and rewrite the properties&lt;STRONG&gt;&amp;nbsp;stroke-dasharray: none&lt;/STRONG&gt;; then it works all the time. However it is not what we want&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 15:55:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-charting-lineDashStyle-to-edit-only-one-line-in-graph/m-p/553878#M38457</guid>
      <dc:creator>thuhuongle</dc:creator>
      <dc:date>2021-06-01T15:55:19Z</dc:date>
    </item>
  </channel>
</rss>

