chartjs-colorful - v1.0.0
Ƭ Color: string
Ƭ ColorConverter: (color: Color) => Color
▸ (color): Color
| Name | Type |
|---|---|
color |
Color |
Ƭ ColorFnNames: "color" | "color2" | "gradient" | "colors" | "colors2" | "gradients"
color: color by datasetIndex. color2: converted color by datasetIndex. gradient: gradient color by datasetIndex. colors: color by dataIndex.(ex.type=’pie’) colors2: converted color by dataIndex.(ex.type=’pie’) gradients: gradient color by dataIndex.(ex.type=’pie’)
Ƭ ColorLinear: (value: number) => Color
▸ (value): Color
Given a value in the range [0,1], returns the corresponding color.
| Name | Type | Description |
|---|---|---|
value |
number |
0.0, 1.0 |
Ƭ Colors: Color[]
Ƭ NamedColors: Record<string, Colors>
Ƭ NamedLinear: Record<string, ColorLinear>
Ƭ Scheme: Color[]
Ƭ ScriptableColor: (ctx: any) => Color | null
▸ (ctx): Color | null
| Name | Type |
|---|---|
ctx |
any |
Color | null
Ƭ ScriptableValue: (ctx: any) => number | null | undefined
▸ (ctx): number | null | undefined
| Name | Type |
|---|---|
ctx |
any |
number | null | undefined
• Const ColorfulPlugin: Plugin<keyof ChartTypeRegistry, ColorfulPluginOptions>
• Const colorfulPluginDatasetDefaults: ColorfulPluginDatasetOptions[]
▸ isBicolor(what): what is Bicolor
| Name | Type |
|---|---|
what |
any |
what is Bicolor