Configuration

Use the following configuration options to bind the Sparklines for WireBootstrap component.

Properties

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