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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...