File

src/app/services/chart-color/chart-color.service.ts

Description

A chart color service.

Index

Properties
Methods

Constructor

constructor(chartModel: ChartModel)

Constructs a chart color service. ~constructor

Parameters :
Name Type Optional Description
chartModel ChartModel No

The chart model injected dependency.

Methods

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.

Properties

Public Readonly chartModel
Type : ChartModel
The chart model injected dependency.

results matching ""

    No results matching ""