Skip to main content

SparklineOptions Class

Contains options used to control the sparkline appearance.

#Declaration

TypeScript
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

TypeScript
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

TypeScript
highlightMinMaxPoints: ko.Observable<boolean>

#Property Value

Type
Observable<boolean>

#highlightStartEndPoints Property

#Declaration

TypeScript
highlightStartEndPoints: ko.Observable<boolean>

#Property Value

Type
Observable<boolean>

#viewType Property

#Declaration

TypeScript
viewType: ko.Observable<DevExpress.Dashboard.Model.SparklineViewType>

#Property Value

Type
Observable<SparklineViewType>

#Methods

#getInfo Method

For internal use.

#Declaration

TypeScript
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

#Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.