oetiker/SmokePing

Cropper does not work with relative time range

Closed this issue · 1 comments

When a graph is generated with a relative time range (or present in the url) the cropper does not work correctly and the graph goes white.

Before cropping:
image

After cropping:
image

To reproduce the issue go to https://oss.oetiker.ch/smokeping-demo/?displaymode=n;start=-2h;end=now;target=Customers.TOL.FIBER~octopus which already has the generated graph based on relative time ranges. When you attempt to crop, the graph doesn't load.

PR has been merged and fixes this issue.