You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally opened as issue #299, happens with descending time values. Resulting in (up to) hundreds of errors (realtime data):
Error: Invalid negative value for attribute width="-517" (each time new data is loaded, which is every 2 seconds)
The time array is sorted descending (10 minutes: start with the current minute and decrement for each of the last 9 minutes). The data is realtime, so incrementing from 10 minutes ago is a complicated and undesirable change.
The time and values generate properly, but do not load properly. But the graph looks vertically smashed (despite setting height and bar width), rollovers are broken, and the console is filled with errors.
This app has been working flawlessly until I updated the library yesterday. Using version pre-0.3.5 will work, but that introduces other bugs. Please let me know if there's a way to make descending sort work with the latest version (or if this is related to something else). Thanks for all your work. I love this library and hope to keep using it.
Hi, Thank you for reporting. As you wrote, this is a bug that happens when x is not sorted ascendantly. I think this has been fixed and please try the code that includes the commit above. Thanks.
That fixed the errors! Thank you for your hard work and quick response.
However, still noticing a bug with the graph height gettting smashed (by about 50%). I set the height to 350px. If I increase to 500, it no longer looks smashed but is still only rendering at about 350px (the tooltip hover line does not extend the full height of the bar).
I can open a new issue if that's appropriate.
Thank you for confirming. Yes, it would be appropriate to open as a new issue. Thanks.
And if possible, could you show me the code? I tried, but I could not reproduce that issue.
Originally opened as issue #299, happens with descending time values. Resulting in (up to) hundreds of errors (realtime data):
Error: Invalid negative value for attribute width="-517" (each time new data is loaded, which is every 2 seconds)
The time array is sorted descending (10 minutes: start with the current minute and decrement for each of the last 9 minutes). The data is realtime, so incrementing from 10 minutes ago is a complicated and undesirable change.
The time and values
generate
properly, but do notload
properly. But the graph looks vertically smashed (despite setting height and bar width), rollovers are broken, and the console is filled with errors.This app has been working flawlessly until I updated the library yesterday. Using version pre-0.3.5 will work, but that introduces other bugs. Please let me know if there's a way to make descending sort work with the latest version (or if this is related to something else). Thanks for all your work. I love this library and hope to keep using it.
array example:
['time',
1401908040000,
1401907980000,
1401907920000,
1401907860000,
1401907800000,
1401907740000,
1401907680000,
1401907620000,
1401907560000,
1401907500000]
The text was updated successfully, but these errors were encountered: