Reporting

time chart not rendering properly in pdf

ajobling1964
New Member

I have a time chart which is working on a search over the last 365 days. It displays perfectly as a dashboard. However I only have data from June this year, when I export to pdf the plotted line is shifted left as if the data started from august 2016 (365 days ago). I don't want to change the time range because ultimately I will have 365 days of data to plot.

Tags (2)
0 Karma
1 Solution

cmerriman
Super Champion

add in |fillnull FIELD value=0 to your syntax. or try |makecontinuous span=X|timechart span=X... The pdf chart needs those values filled in for the days you don't have any data or it will shift the entire chart over to the Y axis.

View solution in original post

0 Karma

cmerriman
Super Champion

add in |fillnull FIELD value=0 to your syntax. or try |makecontinuous span=X|timechart span=X... The pdf chart needs those values filled in for the days you don't have any data or it will shift the entire chart over to the Y axis.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...