1๐
You can highlight weekends using map
functions:
Also, you can do the same with the lowest and highest value.
But for this you must store that arrays somewhere.
Like this:
http://jsfiddle.net/75apft3m/1/
Just use Math.max.apply(null, dataArray)
and Math.min.apply(null, dataArray)
to find highest and lowest values ๐
- [Chartjs]-Add watermark/logo to Chart.js
- [Chartjs]-Chart.js โ How to place text outside of radar chart
Source:stackexchange.com