-3

This is a chart that represents a stat per hour. This was taken from last.fm website which shows the no. of "scrobbles" (songs played) per hour.

Stats by hour chart

Is this kind of chart possible with chart.js? I have been able to find a highcharts equivalent of what I am looking for: Highcharts Windrose Example

I am already using chart.js within my application and don't want to use 2 libraries to do one job. The closest I have been able to find a chart.js equivalent is this polar chart

Can anyone please guide me to a resource that will help me build something like this? Or if you know a better way to represent stat by hour, I am open to that as well.

Thanks.

stirredo
  • 2,297
  • 3
  • 19
  • 23

1 Answers1

1

It can not be done "out of the box" with chart.js However chart.js exposed a lot of the canvas api, so you need to write your own chart.js plugin and register a own chart type.

Jakub Juszczak
  • 7,126
  • 3
  • 21
  • 38