-
-
Notifications
You must be signed in to change notification settings - Fork 386
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
new candlestick chart demo #606
base: master
Are you sure you want to change the base?
Conversation
…e whell & click to pan and +/- zoom control in plugin
thanks @euprogramador , i'll try to review this soon. there's a good chance i'll backport some of the improvements from grafana/grafana#40909 to the current candlestick demo. generally i'd prefer to have fewer variants of the same code that can easily become out of sync, so it would be good to roll more stuff into the existing demo, but probably not before i update the original. WDYT? |
|
||
/* left axis scale */ | ||
|
||
let leftAxisScale = u.root.querySelectorAll(".u-axis")[1]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great to see use of cutting-edge features :)
this was exactly the use-case i had in mind for these rects, too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm implementing a trading system, and the graphic visualization in metatrader doesn't support the graphic types I want to create. I will actually use context2d to create cluster footprint charts. vertical scale will be required to implement these features.
as I saw that others wanted this, I decided to implement it in the example to help those who also want these features, I thought your project was really cool and very fast.
implemented demo use horizontalPanZoomScrollerPlugin() function.
Features demonstrated: