IridiumIO / pyChart.js

Objective Chart.js implementation for Python and Django
MIT License
121 stars 6 forks source link

Wrong example for chart type #1

Open cachitas opened 4 years ago

cachitas commented 4 years ago

In the README you mention two alternatives to declare the chart type. The second one, type='Bar' does not work. It appears it expects a lowercase string, as provided by ChartType.Bar.

I am leaving this here for your consideration. Either enforce lowercase when passing type to build dict or fix the docs.