Chart.js icon indicating copy to clipboard operation
Chart.js copied to clipboard

Sparklines ?

Open vacquah opened this issue 13 years ago • 11 comments

Would be great to add sparkline charts ... please see http://public.tableausoftware.com/static/images/no-vis-available.htm?static=bandlines/0-Intro.png&msg=1

vacquah avatar Mar 18 '13 14:03 vacquah

sure you're not looking for something like http://omnipotent.net/jquery.sparkline/

pwmckenna avatar Mar 18 '13 18:03 pwmckenna

Yes, seen that one. Thought it will be great to have it all in one plugin or library.

vacquah avatar Mar 18 '13 20:03 vacquah

:+1:

jbrooksuk avatar Mar 19 '13 16:03 jbrooksuk

You could just make a small line chart...

warmwaffles avatar Mar 19 '13 17:03 warmwaffles

:+1:

ndarville avatar Mar 19 '13 17:03 ndarville

:+1: :+1: :+1:

Sigler avatar Mar 19 '13 22:03 Sigler

This would be another great opportunity for someone to create a new chart type extension to the library. See http://www.chartjs.org/docs/#advanced-usage-writing-new-chart-types for some details.

Potentially you could just extend the Chart.types.Line to not show a scale, and not show a dot for each point?

nnnick avatar Jun 29 '14 20:06 nnnick

still not Sparklines here

geminiyellow avatar Jun 13 '17 09:06 geminiyellow

No need for a new Chart type. Here's an example using Line: https://codepen.io/Shywim/pen/xXYror

Shywim avatar Oct 06 '17 18:10 Shywim

Even more examples: https://codepen.io/ojame/pen/HpKvx

temega avatar Mar 10 '19 17:03 temega

Sparklines can provide additional data in a very economical way: mark the highest, lowest, latest value with dots, indicate a base line or "normal" range etc.

How could one approach these?

https://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0001OR

Sparkline_marginal_note

0001OS-15658

andreimoment avatar Oct 18 '19 19:10 andreimoment