RealGrid2 API
Interface
SparkChartRenderer

SparkChartRenderer

A base model for renderers to display Spark Chart graphs.

Signature:

export interface SparkChartRenderer extends CellRenderer 

Extends: CellRenderer

Remarks

Based on SparkLineRenderer, SparkColumnRenderer, SparkWinLossRenderer

All properties of SparkChartRenderer can be set/called only in the model above that inherits them.

[Superclass]

CellRenderer

[subclass]

SparkLineRenderer

SparkColumnRenderer

SparkWinLossRenderer

Properties

PropertyTypeDescription
baseValuenumberreference value
belowStylestringStyle class name applied to values smaller than the base value (baseValue) among drawn spark lines
firstStylestringStyle class name applied to the first value of the drawn spark line
highStylestringStyle class name applied to the largest value among the drawn spark lines
lastStylestringStyle class name applied to the last value of the drawn spark line
lowStylestringStyle class name applied to the smallest value among the drawn spark lines
pointStylestringStyle class name applied to the points of the drawn spark line

Properties Desc

baseValue

reference value

Type - number


belowStyle

Style class name applied to values smaller than the base value (baseValue) among drawn spark lines.

Type - string


firstStyle

Style class name applied to the first value of the drawn spark line

Type - string


highStyle

Style class name applied to the largest value among the drawn spark lines.

Type - string


lastStyle

Style class name applied to the last value of the drawn spark line

Type - string


lowStyle

Style class name applied to the smallest value among the drawn spark lines.

Type - string


pointStyle

Style class name applied to the points of the drawn spark line

Type - string