HighlightConfig

interface HighlightConfig

This describes the parameters for a call to the Chart.highlight() function.

Properties

color

color: undefined | string

The color of the highlight. This defaults to black.

end

end: number

The end of the region to be highlighted in semantic coordinates.

opacity

opacity: undefined | number

The opacity of the highlight. This defaults to 0.1.

selector

selector: undefined | string

The selector that will be applied to the highlight object in the DOM. This will be auto generated if not supplied.

start

start: number

The start of the region to be highlighted in semantic coordinates.