Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on Jul 19, 2019. It is now read-only.
This repository was archived by the owner on Jul 19, 2019. It is now read-only.
There was an error while loading. Please reload this page.
Chart.js supports horizontalBar charts as of lately, see:
http://jsfiddle.net/3xts05xu/
But it's impossible to pass
horizontalBartype, because type gets lowercased on this line:https://github.com/jhudson8/react-chartjs/blob/chartjs-v2/lib/core.js#L76
What is the purpose behind
.lowercase()?Wouldn't it be better to allow to pass any type and leave it up to chart js to throw error?