Have an issue with box annotation. #439
-
Face the problem as documented here - https://stackoverflow.com/questions/68229521/chart-js-multiple-box-annotations-displays-only-the-last-box It works good if I don't use date labels. But once I start using date labels it doesn't work. Can you please check? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
The problem is in your scale config that is in chart.js v2 format. Additionally you were missing a date-adapter required by the time scale and the parser string for your timestamps. |
Beta Was this translation helpful? Give feedback.
-
I am getting an error - angular.js:13708 Error: This method is not implemented: Check that a complete date adapter is provided. now Using the following for the scale - scales: { |
Beta Was this translation helpful? Give feedback.
The problem is in your scale config that is in chart.js v2 format. Additionally you were missing a date-adapter required by the time scale and the parser string for your timestamps.
https://jsfiddle.net/5cqxth2r/