Tutuchan / chartjs

An implementation of the Chart.js library in R
MIT License
30 stars 7 forks source link

Documentationn examples provided on website don't work #14

Open mbannert opened 7 years ago

mbannert commented 7 years ago

Nice R implementation! The stuff really works well once you find out how to use. The information on your website is misleading:

http://tutuchan.github.io/chartjs/

Them charts examples throw errors because width is the first parameters and you pass data to it. However, looking at source code, checking out the examples does the job: https://github.com/Tutuchan/chartjs/blob/master/inst/example.Rmd

Since the website is found pretty easily on google when looking for R chartjs integration, you might want to adapt the website's examples.

Tutuchan commented 7 years ago

Thanks Matt, I haven't worked on this for some time but I'll try to update the package doc this weekend.

mbannert commented 7 years ago

If the website's on github I wouldn't mind fixing it for you issuing a pull request. I think the package is useful and chartjs is a neat canvas way to plot. Speaking of plotting libs... Are you aware of a low level js plotting library. I want to integrate continuous bar charts from scratch in JS.