Dashboards & Visualizations

Converting a line chart to scatter plot, how do I edit my XML to make lines in the line chart transparent and markers visible?

Venkat_16
Contributor

I am trying to convert a line chart to scatter plot, please help me in making the line transparent and markers visible. Below is my XML Code

    option name="charting.axisLabelsX.majorLabelStyle.overflowMode">ellipsisNone /option
    option name="charting.axisLabelsX.majorLabelStyle.rotation">0/option
    option name="charting.axisTitleX.visibility">visible</option
   option name="charting.axisTitleY.visibility">visible</option
    option name="charting.axisTitleY2.visibility">visible</option
    option name="charting.axisX.scale">linear</option
    option name="charting.axisY.scale">linear</option
    option name="charting.axisY2.enabled">false</option
    option name="charting.axisY2.scale">inherit</option
    option name="charting.chart">line</option
    option name="charting.chart.showMarkers">true</option
    option name="charting.chart.markerSize">3</option
    option name="charting.chart.bubbleMaximumSize">50</option
    option name="charting.chart.bubbleMinimumSize">10</option
    option name="charting.chart.lineStyle.alpha">0</option
    option name="charting.chart.bubbleSizeBy">area</option
    option name="charting.chart.nullValueMode">gaps</option
    option name="charting.chart.stackMode">default</option
    option name="charting.chart.sliceCollapsingThreshold">0.01</option
    option name="charting.chart.style">shiny</option
    option name="charting.drilldown">all</option
    option name="charting.layout.splitSeries">0</option
    option name="charting.legend.labelStyle.overflowMode">ellipsisMiddle</option
    option name="charting.legend.placement">right</option
    option name="charting.chart.bubbleMaximumSize">50</option
    option name="charting.chart.bubbleMinimumSize">10</option
    option name="charting.chart.bubbleSizeBy">area</option
    option name="charting.chart.sliceCollapsingThreshold">0.01</option
    option name="charting.chart.style">shiny</option
0 Karma

lguinn2
Legend

Change

charting.chart = scatter

instead of line
There are many options that you can set for charts. Many of the ones you have listed may not be relevant for scatter charts, but Splunk will just ignore them. For info, look at the Chart Configuration Reference

0 Karma

Venkat_16
Contributor

Thanks for the help, am actually looking to replicate a scatter plot using a line chart....where i will increase the marker size and make the line transparent , which will look like a scatter plot..

0 Karma

lguinn2
Legend

Why? And if you want the line to be transparent, perhaps you should just make it white, to match the background color. Again, you can find the line colors in the Chart Configuration Reference.

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...