chartjs-colorful

chartjs-colorful - v1.0.0 / ColorfulPluginDataOptions

Interface: ColorfulPluginDataOptions

Table of contents

Properties

Properties

axis

Optional axis: string

colorful-scale axis.


datasetIndex

Optional datasetIndex: number

target dataset index.

Default

0


linear

Optional linear: string

name for the color linear.

See

linears


max

max: number

maximum number for the scale.


max2

Optional max2: number

maximum number for the color linear.

Default

1.0


min

min: number

minimum number for the scale.


min2

Optional min2: number

minimum number for the color linear.

Default

0.0


scale

Optional scale: _DeepPartialObject<ColorfulScaleOptions>

options for color-scale


value

Optional value: string | ScriptableValue

value key name or value from ctx function.