Using draw on a line chart #9169
Unanswered
CarrieEBeaton
asked this question in
Q&A
Replies: 1 comment 9 replies
-
|
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
There used to be a way to add vertical lines across multiple charts by extending the line controller.
See the example below:
https://stackoverflow.com/questions/62815133/vertical-line-across-multiple-charts
https://www.debugcn.com/en/article/18605537.html
I have created a custom LineWithLine class that extends line and has a draw method but I am not understand how to call the draw method super.draw.call(this) with the ease number and would appreciate better documentation around custom controllers and how to implement something like this.
I followed this documentation
https://www.chartjs.org/docs/latest/developers/charts.html
to implement the following:
Any assistance on how to get the vertical line to draw and update on user interaction would be greatly appreciated
Beta Was this translation helpful? Give feedback.
All reactions