-
Notifications
You must be signed in to change notification settings - Fork 196
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
Initiate chart without data #80
Comments
That's not a use case I've explicitly supported in the past. I'd be happy to accept a PR to address this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, cheers for your work!
I am currently trying to create a candlestick chart that will be felling up over time. That is, when I initiate the graph, the x axis is already premade but with no y values.
I then later attempt to add values over time: after 5s add a bar to x=1 ...
This works perfectly when using a simple line chart.
However this is not working when using the candlestick type of chart.
![image](https://user-images.githubusercontent.com/38708022/92419957-bde4e480-f1c4-11ea-8a0b-6f6064a95c47.png)
I am getting the following error:
Which seems to be linked to this code:
From what I understand, the code expects ticks right off the bat. So if there is no data by default then it will throw an error?
Am I missing something? if not It would be great to implement upgrade the code to let the chart initiate properly without data.
If I am simply dumb, I'd love an idea on how to achieve what I'm looking for that'd be amazing, cheers.
The text was updated successfully, but these errors were encountered: