-
Notifications
You must be signed in to change notification settings - Fork 87
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
Time chart support? #4
Comments
I does! I'm planning to add a time series example with zoom and dynamic load (for example stocks data) to the samples, for now you can find a working example on another project I'm working on: |
That's great. The reason I was asking is because I'm working on https://github.com/chartjs/chartjs-chart-financial and thought this could be good plugin to use with it |
It seems to work ok, with some changes to the crosshair-plugin: https://www.abelheinsbroek.nl/financial/ One issue I ran into is that scatter and line charts work with data.x to position data on the x axis, whereas your plugin uses data.t instead. Is there a specific reason for doing this? Currently the plugin only works for scatter and line charts, I should change that to work for all charts with an Linear or Time x-axis. |
Very cool! I love it!
|
News about this? |
I got the crosshair plugin to work with the financial plugin by changing this line |
You can right click and press view source on any webpage to view the source. This file is what you're looking for I guess: |
Adding |
Yes, adding this line would make the crosshair plugin support the streaming plugin but not for the crosshair zoom, maybe beacuse when you add the streaming plugin some of the axis option are ignored (time.max, time.min) |
I noticed that the samples are all linear axes. Does it work on time charts? The README doesn't say
The text was updated successfully, but these errors were encountered: