Skip to main content
All docs
V18.2

ASPxClientDashboardItemElementCustomColorEventArgs Class

Namespace: DevExpress.DashboardWeb.Scripts

Assembly: DevExpress.Dashboard.v18.2.Web.WebForms.Scripts.dll

Declaration

public class ASPxClientDashboardItemElementCustomColorEventArgs :
    ASPxClientEventArgs

Remarks

The ASPxClientDashboard.ItemElementCustomColor / ASPxClientDashboardViewer.ItemElementCustomColor events allow you to color the required dashboard item elements (for instance, chart series points, pie segments) using the specified colors. The ASPxClientDashboardItemElementCustomColorEventArgs class exposes the following settings that allow you to color the required element.

Note

By default, the Chart dashboard item colors lines (or fills areas) for the Line/Area series types using the color of the first series point. For these lines/areas, the ASPxClientDashboardItemElementCustomColorEventArgs.GetTargetElement method returns a tuple that does not contain the axis point on the DashboardDataAxisNames.ChartArgumentAxis.

Inheritance

Object
DevExpress.Web.Scripts.JavaScriptObject
DevExpress.Web.Scripts.ASPxClientEventArgs
ASPxClientDashboardItemElementCustomColorEventArgs
See Also