Closed Speykious closed 1 year ago
@Speykious I was able to reproduce the issue. Having a look.
@Speykious the exception is generating because you are creating a epoch to 0 (new Date(0)).
The check is here:
I can change that check to avoid this issue. Maybe you can try starting from 1 to see if it's working.
That indeed fixed it, thank you a lot!
Ultimately in our use-case the dates are going to be closer to today anyway, so this zero shouldn't cause problems for the time being.
@Speykious Thank you! I have anyway already fixed! ;) https://github.com/pepstock-org/Charba/commit/fe30521e92ca9a015337deb071a039a70301345d
It will be available in next version!
We are trying to integrate Charba into our GWT project, and we need to use a timeline series chart.
However, when trying to set the timeline series data, the chart refuses to display on screen, instead an error appears in the console about not being able to read from null:
Here's the relevant code I used to test things:
There seems to be some null issue while
setTimeSeriesData
is sorting the given data?