schme16 / Chart.js-RangeSlider

This adds the option of having a range slider to your Chart.JS Charts, to allow you to select a specific data scale
MIT License
33 stars 11 forks source link

slider fails if no pointBackgroundColor/pointBorderColor option is provided #13

Open buckelieg opened 6 years ago

buckelieg commented 6 years ago

Whenerever datasets contain no pointBackgroundColor and pointBorderColor options RangeSlider fails to instantiate.

lcoursey commented 6 years ago

I have the same issue. It seems I can set them to an empty array to suppress the errors. e.g. pointBackgroundColor = []