2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1Chart Namespace / C1Chart Class / DrawDataSeries Event

In This Topic
    DrawDataSeries Event
    In This Topic
    Fires when the data series is about to be drawn. This event allows changes to the brush that will be used for data series plotting, including the addition of hatching, gradients and textures.
    Syntax
    'Declaration
     
    Public Event DrawDataSeries As DrawDataSeriesEventHandler
    public event DrawDataSeriesEventHandler DrawDataSeries
    Event Data

    The event handler receives an argument of type DrawDataSeriesEventArgs containing data related to this event. The following DrawDataSeriesEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the rectangular area in which the data series will be plotted.  
    Gets or sets the brush that will be used for data plotting.  
    Gets or sets whether the brush should be disposed by the chart after drawing the series. If DisposeBrush is false the brush is not disposed by the chart.  
    Gets or sets whether the pen should be disposed by the chart after drawing the series. If DisposePen is false the pen is not disposed by the chart.  
    Gets the index of the chart group.  
    Gets whether the current region about to be drawn is in the legend.  
    Gets or sets the pen that will be used for data plotting.  
    Gets the index of the data series about to be drawn.  
    See Also