ASPxClientDashboard.ItemElementCustomColor Event

Allows you to color the required dashboard item elements using the specified colors.

Namespace: DevExpress.DashboardWeb.Scripts

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


public event ASPxClientDashboardItemElementCustomColorEventHandler ItemElementCustomColor
Public Event ItemElementCustomColor As ASPxClientDashboardItemElementCustomColorEventHandler

Event Data

The ItemElementCustomColor event handler receives an argument of the ASPxClientDashboardItemElementCustomColorEventArgs type. The following properties provide information specific to this event.

Property Description
ItemName Gets the component name of the dashboard item for which the event was raised.


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

Note that color modifications applied using the ItemElementCustomColor event are not applied in the resulting exported document.


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.

See Also