chartjs / chartjs-plugin-annotation

Annotation plugin for Chart.js
MIT License
607 stars 328 forks source link

Reduce visibility of annotation element methods #611

Closed stockiNail closed 2 years ago

stockiNail commented 2 years ago

This is a reminder (even if there is a TODO in the code) for new major version to remove public methods from annotation elements (which are not defined by CHART.JS Element interface).

Furthermore change structure of the code in order to have inside the source code the following sequence:

  1. imports
  2. constants
  3. public classes/exported functions
  4. private functions