Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x axis labels in line plot as strings #10

Open
slevin886 opened this issue Oct 22, 2019 · 5 comments
Open

x axis labels in line plot as strings #10

slevin886 opened this issue Oct 22, 2019 · 5 comments

Comments

@slevin886
Copy link

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!

@jwilber
Copy link
Owner

jwilber commented Oct 22, 2019

@slevin886 thanks - I've identified the issue and will try and fix this on the airplane tonight!

@slevin886
Copy link
Author

slevin886 commented Oct 23, 2019 via email

@jwilber
Copy link
Owner

jwilber commented Oct 28, 2019

@slevin886 just so ya know: I found/fixed the issue! Going to add a few other fixes then release as v 1.0.5 sometime tonight/this week!

@alexander-heimbuch
Copy link

@jwilber Any progress on this topic?

@jwilber
Copy link
Owner

jwilber commented Jan 25, 2020

@alexander-heimbuch hey, yeah I’ve been waiting to post a release, but’s it’s been long enough that I’ll push something out this week. Will ping when done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants