chartjs-node
chartjs-node copied to clipboard
Any compatibility with time scale?
Hi everyone, I'm trying to use chartjs-node to create time scale charts. I can't get to have charts when I try to use the time scale, I got
ReferenceError: CanvasGradient is not defined.
Do you know if there is any possibilities for this..?
As far as I know, it's impossible to create a chart without the 'labels' option, and it has to have the same number of arguments than the 'data' option have.
In my case, I would also like to create a chart using points with x axis attribute
ex:
data: [{x: new Date, y: Number}]
I don't have any problems when using it in chart.js
Any ideas for chats-node..?
Thanks in advance!