0👍
Just send the date values of your picker via POST (form) to your script. Then extend your MySQL Query with this. Then you will get a filtered response for your chart.
- Chartjs-PrimeFaces: ChartJs stacked bar chart label removal
- Chartjs-In which stage of the program do I remove my legend labels in charts.js?
Source:stackexchange.com