question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Surface graph has issue with small time ranges

See original GitHub issue

Hello,

I’ve had an issue for quite a while and thought it would be good to raise here. It’s an issue with graphs that are over a small amount of time. I’ve attempted to make a demonstration but the screenshot below will show my issue more clearly.

Take a look at the following: A) https://jsfiddle.net/Lv4qpoyu/3/ B) https://jsfiddle.net/5au0xepd/1/

In A) you can see some random data over 50 minutes. In B) you can see random data over 50 seconds. A) works perfectly well, nice little graph. B) looks like an utter mess and is near impossible to use.

So that brings us to C), the screenshots (the first taken a few months ago, the second today) below that shows my real dataset. In a 2D heatmap it works fine but in a 3D surface graph it shows the data correctly but with the axis completely messed up. Sometimes it looks worse than others, but all the time there is a continuation of the date (y) axis. Sometimes it requires you to zoom out to see, but it is always there in the distance. This makes it unusable to me if I want to put it in front of users.

44929865-5e8da780-ad54-11e8-8795-0c2353f09984

screenshot 2018-12-04 11 03 52

When I’ve looked online for help I found someone else having the exact same issue but they were using the python version of the library with a scatter3d.

This seems to be a bug opposed to an issue in my code. I have autorange set to false, the range of data is correct (["2018-09-06 20:48:32", "2018-09-06 20:55:57"] for second screenshot) and is using moment dates. I have double checked it on the latest version too and no change. Does anyone have any idea what is causing this issue?

Cheers Shane

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:20 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
ShaneHudsoncommented, Dec 21, 2018

Do note though that the bug does look different that it did originally, but my data has changed since then so I am looking at a small time range.

1reaction
ShaneHudsoncommented, Dec 21, 2018

screenshot 2018-12-21 11 30 05

Here’s another screenshot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chart with X-axis showing different intervals of time
Is it possible in Microsoft Excel 2010 to create a chart with an x axis that has different interval values within the same...
Read more >
Line Graphs and Irregular Intervals - Perceptual Edge
When lines are used in a graph to connect unequal or non-adjacent intervals of time, they misrepresent the information. Edward Tufte expressed the...
Read more >
Surface Weather Analysis Chart
Historically, the surface weather map was the first weather map ... display weather conditions at a particular time, these charts can be ...
Read more >
surface plots in matplotlib - python - Stack Overflow
I have a hard time reproducing this plot. What would be some (smaller) sample values to achieve this? – JRsz. May 23, 2019...
Read more >
Essentials of Postprocessing and Visualization in COMSOL ...
We've added surface, arrow, and contour plots. Now it's time for something a little different. The velocity plot that we deleted earlier contained...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found