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

Feature request: Sparklines as an example using C3 #2339

Open
aravindhsampath opened this issue Apr 5, 2018 · 4 comments
Open

Feature request: Sparklines as an example using C3 #2339

aravindhsampath opened this issue Apr 5, 2018 · 4 comments
Labels
C-feature-request Category: A feature request or an enhancement C-new-chart Category: A feature request for a new chart

Comments

@aravindhsampath
Copy link

C3 has been great for our performance charts. I'm building a overview dash and would love to have a sparkline chart showing the activity for the last hour/week. I don't see an example of doing this with C3. It would make a nice addition to the examples on the main page.

I'm not versed with JS to be able to create one and send a pull request. If anybody takes a crack at it, I think it will be very useful.
Example using D3: http://bl.ocks.org/benjchristensen/1148374

Thanks for C3.

@pchaganti
Copy link

👍

@panthony
Copy link
Contributor

panthony commented Apr 6, 2018

I'm doing something similar already by using a line chart where I hide everything:

capture d ecran 2018-04-06 a 08 02 48

Could be enough of a workaround for now

@panthony panthony added C-feature-request Category: A feature request or an enhancement C-new-chart Category: A feature request for a new chart labels Apr 6, 2018
@aravindhsampath
Copy link
Author

Any chance you could share your line chart? It looks neat!

@panthony
Copy link
Contributor

panthony commented Apr 6, 2018

@aravindhsampath This is simply a chart with everything disabled:

http://jsfiddle.net/rkdhpwkg/

No magic here !

The -67% is not part of the chart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: A feature request or an enhancement C-new-chart Category: A feature request for a new chart
Projects
None yet
Development

No branches or pull requests

3 participants