Skip to main content

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.

Inherited Members

Inheritance

SerializableModel
SparklineOptions

constructor

Initializes a new instance of the SparklineOptions class.

Declaration

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

Parameters

Name Type Description
JSON any

A JSON object used for dashboard deserialization. Do not pass this parameter directly.

serializer ModelSerializer

An object used for 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<DevExpress.Dashboard.Model.SparklineViewType>

Property Value

Type
Observable<SparklineViewType>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.