Dashboards & Visualizations

Gaps in graphs

jangid
Builder

I am calculating avg but some time my graph contains gap.

How do I fill this gap with line(last value)?

here is my xml

<row>
    <chart>
        <searchTemplate>
        sourcetype=mysearch.. | where ElapsedTime > 0 | timechart avg(ElapsedTime)

        </searchTemplate>
        <title>Transaction Average</title>
        <option name="charting.chart">line</option> 
        <option name="charting.primaryAxisTitle.text">Time</option>
        <option name="charting.secondaryAxisTitle.text">Average Transaction Time</option>
    </chart>
</row>
Tags (3)
1 Solution

dwaddle
SplunkTrust
SplunkTrust

It looks like it should be something like:

<option name="charting.chart.line.nullValueMode">connect</option>

Per the docs @ http://docs.splunk.com/Documentation/Splunk/4.3.3/Developer/CustomChartingConfig-chartlegend#linecha...

View solution in original post

dwaddle
SplunkTrust
SplunkTrust

It looks like it should be something like:

<option name="charting.chart.line.nullValueMode">connect</option>

Per the docs @ http://docs.splunk.com/Documentation/Splunk/4.3.3/Developer/CustomChartingConfig-chartlegend#linecha...

sowings
Splunk Employee
Splunk Employee

Try simply <option name="charting.chart.nullValueMode">connect</option>

NeerajDhapola7
Path Finder

I am with @SoWings as newer Version has below option

<option name="charting.chart.nullValueMode">connect</option>
0 Karma

jangid
Builder

Thanks for your reply but its not working 😞

0 Karma

MHibbin
Influencer

beat me to it..

Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...