chartjs-colorful - v1.0.0 / ColorfulScale
colorful-scale.
Name | Type |
---|---|
O |
extends ColorfulScaleOptions = ColorfulScaleOptions |
LinearScale
<O
>
↳ ColorfulScale
• new ColorfulScale<O
>(cfg
)
Name | Type |
---|---|
O |
extends ColorfulScaleOptions <O > = ColorfulScaleOptions |
Name | Type |
---|---|
cfg |
any |
LinearScale<O\>.constructor
▪ Static
Readonly
defaults: _DeepPartialObject
<ColorfulScaleOptions
> = colorfulScaleDefaults
LinearScale.defaults
▪ Static
Readonly
descriptors: Object
Name | Type |
---|---|
_scriptable |
boolean |
▪ Static
Readonly
id: "colorful"
LinearScale.id
▸ _computeGridLineItems(chartArea
): { tx1
: number
; tx2
: number
}[]
Name | Type |
---|---|
chartArea |
ChartArea |
{ tx1
: number
; tx2
: number
}[]
▸ _createGradient(): CanvasGradient
CanvasGradient
▸ _getGradient(): CanvasGradient
CanvasGradient
▸ afterFit(): void
void
LinearScale.afterFit
▸ drawGrid(chartArea
): void
Name | Type |
---|---|
chartArea |
ChartArea |
void
LinearScale.drawGrid
▸ drawLabels(chartArea
): void
Name | Type |
---|---|
chartArea |
ChartArea |
void
LinearScale.drawLabels
▸ init(options
): void
Name | Type |
---|---|
options |
O |
void
LinearScale.init