[Chartjs]-ChartJS โ€“ Highlight Weekends and Lowest and Highest Values

1๐Ÿ‘

You can highlight weekends using map functions:

http://jsfiddle.net/75apft3m/

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 ๐Ÿ™‚

Leave a comment