-
Notifications
You must be signed in to change notification settings - Fork 236
x axis labels in line plot as strings #10
Copy link
Copy link
Open
Description
Hi,
I am trying to plot a line graph where my xaxis are times (as strings i.e. '7am'), I have the following code:
new roughViz.Line( { element: '#streaming', data: './static/availability.csv', title: 'Line Chart', x: 'time', y1: '# games', width: window.innerWidth / 2, } );
It will render if I remove 'x', but otherwise I can't get it to use strings as the values- possibly because it needs continuous values? If so, is there a workaround to replace the visible tick labels?
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels