Closed cbaudouinjr closed 8 months ago
The project transitioned from using the Highcharts library to Chart.js for chart rendering. This change involved removing Highcharts from the dependency list, updating JavaScript asset dependencies, and modifying initialization scripts to accommodate Chart.js, aiming to improve maintainability, performance, and reduce potential licensing costs.
Files | Change Summary |
---|---|
Gemfile | Removed highcharts-rails gem |
app/assets/javascripts/.../application.assets.js | Replaced highcharts with Chart.bundle |
app/assets/javascripts/manage/application.js | Replaced setupHighcharts with setupChartJs |
app/assets/javascripts/manage/lib/setupChartJs.js | Renamed function to setupChartJs from setupHighcharts |
🐇✨
In the realm of code, where charts do play,
A switch was made, Chart.js leads the way.
Out with the old, in with the new,
Smooth transitions, our aim is true.
Celebrate we shall, for the change is done,
A hop, a skip, under the coding sun.
🌟📊
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Closes #1002
Summary by CodeRabbit