Skip to main content
All docs
V25.1
  • ChartItemFormatRule Class

    Declaration

    export class ChartItemFormatRule extends ChartItemFormatRuleBase

    constructor

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

    Declaration

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

    Parameters

    Name Type
    modelJson any
    serializer ModelSerializer

    Properties

    applyToChartElement Property

    Declaration

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

    Property Value

    Type
    Observable<FormatRuleChartElement>

    dataItemApplyToName Property

    Declaration

    dataItemApplyToName: ko.Observable<string>

    Property Value

    Type
    Observable<string>

    Methods

    getInfo Method

    Declaration

    getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

    Returns

    Type
    ISerializationInfoArray