peopledoc / django-chartjs

Django Class Based Views to generate Ajax charts js parameters.
Other
407 stars 112 forks source link

Is line chart the only one supported as of now? #41

Closed gotexis closed 4 years ago

gotexis commented 6 years ago

How about bar charts?

codsane commented 5 years ago

django-chartjs only passes dataset information (labels, data, colors) to chart.js. While the class name is "BaseLineChartView", you could technically change the chart type in your Javascript. Since the dataset information should be compatible between both charts, bar charts should work just fine.