Skip to main content
All docs
V26.1
  • DashboardPalette Class

    A dashboard palette that defines the colors and styles (hatch and line) used to paint dashboard item elements.

    Declaration

    export class DashboardPalette extends SerializableModel

    Inherited Members

    Inheritance

    SerializableModel
    DashboardPalette

    constructor(model)

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

    Declaration

    constructor(
        model: any,
        serializer?: DevExpress.Analytics.Utils.IModelSerializer,
        info?: DevExpress.Dashboard.Metadata.IDashboardSerializationInfoArray
    )

    Parameters

    Name Type Description
    model any

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

    serializer IModelSerializer

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

    info IDashboardSerializationInfoArray

    An array of objects that provide serialization info. Do not pass this parameter directly.

    Properties

    name Property

    Specifies the palette name.

    Declaration

    name: ko.Observable<string>

    Property Value

    Type Description
    Observable<string>

    The palette name.

    Methods

    getInfo Method

    For internal use.

    Declaration

    getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

    Returns

    Type Description
    ISerializationInfoArray

    An array of objects that provide serialization info.