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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...