Sparkline ADDON Sparkline chart is a tiny chart in a worksheet cell that provides a visual representation of data.
About
This jQuery plugin generates sparklines (small inline charts) directly in the browser using data supplied either inline in the HTML, or via javascript. Use sparklines to show trends in a series of values, such as seasonal increases or decreases, economic cycles, or to highlight maximum and minimum values.
Find tutorials, guidelines and more on Sparkline's official documentation
Line Chart
Line charts are the default chart type, but to specify the type explicitly set an option called
type
to line
Area Chart
We take the line example to your right and add
fillColor
to fill the area
Bar Chart
Set the
type
option to bar
to generate bar charts. Values can be omitted by using the null
value instead of a number.
Composite Bar
Composite charts are re-drawn on top of each other to display multiple data points stacked in a single row or column
Tristate Chart
Tri-state charts are useful to show win-lose-draw information. You can also use the colorMap for different arbitrary positions
Discrete Chart
Discrete charts provide a separated thin vertical line for each value. Set the "type" option to "discrete" to generate discrete charts
Bullet Graph
A bullet graph is inspired by a traditional thermometer charts, it serves as a replacement for dashboard gauges and meters.
Pie Chart
Set the "type" option to "pie" to generate pie charts. These little pie charts tend only to be useful with 2 or 3 values at most
Refresh Graph
The demo below uses jquery snippet to draw values from mouse movement and plots it intravenously into the graph
Box Plots
Boxplot is a method for graphically depicting groups of numerical data through their quartiles. Outliers may be plotted as individual points