Skip to main content
All docs
V24.2

ChartItemFormatRule Class

#Declaration

TypeScript
export class ChartItemFormatRule extends ChartItemFormatRuleBase

#constructor

Initializes a new instance of the ChartItemFormatRule class with specified settings.

#Declaration

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

#Parameters

Name Type
modelJson any
serializer ModelSerializer

#Properties

#applyToChartElement Property

#Declaration

TypeScript
applyToChartElement: ko.Observable<DevExpress.Dashboard.Model.FormatRuleChartElement>

#Property Value

Type
Observable<FormatRuleChartElement>

#dataItemApplyToName Property

#Declaration

TypeScript
dataItemApplyToName: ko.Observable<string>

#Property Value

Type
Observable<string>

#Methods

#getInfo Method

#Declaration

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

#Returns

Type
ISerializationInfoArray