DashboardItemColoringOptions Class
Contains dashboard item coloring options.
#Declaration
export class DashboardItemColoringOptions extends SerializableModel
#Remarks
Dashboard items that support coloring expose the DataDashboardItem.coloringOptions property that allows you to access coloring options. Use this property to get access to DashboardItemColoringOptions
:
- useGlobalColors
- Specifies whether the dashboard item uses a global or local color scheme.
- measuresColoringMode
- Specifies a coloring mode for dashboard item measures.
#Inheritance
#constructor
Initializes a new instance of the DashboardItemColoringOptions
class.
#Declaration
constructor(
modelJson?: any,
serializer?: DevExpress.Analytics.Utils.ModelSerializer
)
#Parameters
Name | Type | Description |
---|---|---|
model |
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
#measuresColoringMode Property
Specifies a coloring mode for dashboard item measures.
#Declaration
measuresColoringMode: ko.Observable<DevExpress.Dashboard.Model.ColoringMode>
#Property Value
Type | Description |
---|---|
Observable<Coloring |
A Coloring |
#useGlobalColors Property
Specifies whether the dashboard item uses a global or local color scheme.
#Declaration
useGlobalColors: ko.Observable<boolean>
#Property Value
Type | Description |
---|---|
Observable<boolean> |
|
#Methods
#getInfo Method
For internal use.
#Declaration
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray
#Returns
Type | Description |
---|---|
ISerialization |
An array of objects that provide serialization info. |