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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...