Use the following configuration options to bind the Sparklines for WireBootstrap component.
Name
Description
sparkline
A pass-through to the native configuration for Sparklinesarrow-up-right. See Sparkline for an example.
datamap
Used to bind data to the component. See Data Binding for details.
The following creates a sparkline line chart. The default chart type in WireBootstrap is a bar.
new wire.sparkline().render("#chart", { ... sparkline: { type: "line" } });
Last updated 4 years ago
Was this helpful?