Configuration
Use the following configuration options to bind the Sparklines for WireBootstrap component.
Properties
Name
Description
sparkline
A pass-through to the native configuration for Sparklines. See Sparkline for an example.
datamap
Used to bind data to the component. See Data Binding for details.
Sparkline
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
Was this helpful?