Skip to main content

TcxGridChartHistogram.OnCustomDrawPlot Event

Occurs when a chart’s plot area needs to be painted.

Declaration

property OnCustomDrawPlot: TcxGridChartHistogramPlotCustomDrawEvent read; write;

Remarks

The Sender parameter provides access to the diagram that caused a chart’s plot area to be repainted.

The ACanvas and AViewInfo parameters provide access to the canvas and ViewInfo of the grid control.

The ABounds parameter specifies the bounding rectangle of a chart’s plot area being painted. Note that the same information is accessible via the AViewInfo.PlotBounds property.

As with other custom drawing events, the ADone parameter’s value is initially False. Set it to True to prevent the grid control from performing default painting.

To learn more about custom draw, refer to the Custom Draw topic.

See Also