Skip to main content
A newer version of this page is available. .

SparklineOptions Class

Contains options used to control the sparkline appearance.

Declaration

export class SparklineOptions extends SerializableModel

Remarks

To access sparkline options, use the following properties.

constructor

Initializes a new instance of the SparklineOptions class.

Declaration

constructor(
    JSON?: any,
    serializer?: DxDesigner.Analytics.Utils.ModelSerializer
)

Parameters

Name Type Description
JSON any
serializer DxDesigner.Analytics.Utils.ModelSerializer

An object used for a dashboard deserialization. Do not pass this parameter directly.

Properties

highlightMinMaxPoints Property

Declaration

highlightMinMaxPoints: ko.Observable<boolean>

Property Value

Type
Observable<boolean>

highlightStartEndPoints Property

Declaration

highlightStartEndPoints: ko.Observable<boolean>

Property Value

Type
Observable<boolean>

viewType Property

Declaration

viewType: ko.Observable<SparklineViewType>

Property Value

Type
Observable<SparklineViewType>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationInfoArray