src/app/services/chart-color/chart-color.service.ts
A chart color service.
Properties |
|
Methods |
|
constructor(chartModel: ChartModel)
|
||||||||
Constructs a chart color service. ~constructor
Parameters :
|
Public initColors |
initColors()
|
Initializes the color scheme.
Returns :
void
|
Public nextBackgroundColor |
nextBackgroundColor()
|
Increments a background color of a scheme.
Returns :
string
A scss hsla color style. |
Public nextHoverBackgroundColor |
nextHoverBackgroundColor()
|
Increments a hover background color of a scheme.
Returns :
string
A scss hsla color style. |
Public Readonly chartModel |
Type : ChartModel
|
The chart model injected dependency.
|