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

Add x values to sparkline? #25

Closed
andrasberczi opened this issue Sep 6, 2018 · 0 comments
Closed

Add x values to sparkline? #25

andrasberczi opened this issue Sep 6, 2018 · 0 comments

Comments

@andrasberczi
Copy link

andrasberczi commented Sep 6, 2018

Is there a way to add X values to sparkline?
In the jquery.sparkline documentation I see that it should be possible, but I could not figure out, how can I do it using this package.

UPDATE:
Finally I found the way, it is actually quite easy:

sparkline(
	values = c(1:3),
	xvalues = c(10,20,30)
)
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

1 participant