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: KnockoutObservable<boolean>

Property Value

Type
KnockoutObservable<boolean>

highlightStartEndPoints Property

Declaration

highlightStartEndPoints: KnockoutObservable<boolean>

Property Value

Type
KnockoutObservable<boolean>

viewType Property

Declaration

viewType: KnockoutObservable<SparklineViewType>

Property Value

Type
KnockoutObservable<SparklineViewType>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationsInfo

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationsInfo