ASPxClientDashboardItemElementCustomColorEventArgs Class

Namespace: DevExpress.DashboardWeb.Scripts

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

Syntax

public class ASPxClientDashboardItemElementCustomColorEventArgs :
    ASPxClientEventArgs

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
ASPxClientDashboardItemElementCustomColorEventArgs

See Also