SparklineOptions Class
In This Article
Contains options used to control the sparkline appearance.
#Declaration
TypeScript
export class SparklineOptions extends SerializableModel
#Remarks
To access sparkline options, use the following properties.
#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 | Model |
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<Sparkline |
#Methods
#getInfo Method
For internal use.
#Declaration
TypeScript
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray
#Returns
Type | Description |
---|---|
ISerialization |
An array of objects that provide serialization info. |