Configuration

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

NameDescription

datamap

Used to bind data to the component. See Data Binding for details.

eventField

By default, a data event raised by the component will send out the value(s) for the fields set in the catagories data map. Use this property to use another field in the data to send out in the event.

highcharts

A pass-through to the native configuration for Highcharts. See Highcharts for an example.

type

The chart type. This is a helper property for the native Highcharts chart type property.

Highcharts

The following sets the title on the chart as part of the binding.

const chart = new wire.highcharts().render("#chart", {
    ...
    highcharts: {    
        title: { text: "My Chart Title"}
    }
});

Last updated