Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timechart with time overlay displays an extraneous series with 2 points #4

Open
dmehra opened this issue Dec 23, 2015 · 1 comment
Open
Assignees

Comments

@dmehra
Copy link

dmehra commented Dec 23, 2015

read stochastic -source 'cdn' -source_type 'metric' -last :2 days: -daily .5 name = 'cpu' 
| view timechart 
    -display.duration :1 day:
    -display.overlayTime true

This code produces not 2 but 3 time series, the extra one having 2 points at the left edge of the chart. It goes away if you do -from :2 days ago:+:1 hour: -to :now: instead of -last :2 days:. The problem is likely with the time overlay in the timechart rather than with the stochastic source that gives us the data.

The code is docs/examples/charts/timechart_time_overlay_1.juttle and docs/examples/charts/timechart_time_overlay_2.juttle that are used in the docs article http://juttle.github.io/juttle-viz/charts/timechart/

I used that +:1h: workaround to generate screenshots so the docs page looks ok. However if users run the examples, they'll get the weird extra series.

@dmehra
Copy link
Author

dmehra commented Dec 23, 2015

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants