2D Chart for WinForms | ComponentOne
Charting Data / Customizing the ChartDataSeries / Excluding a Series from the Legend
In This Topic
    Excluding a Series from the Legend
    In This Topic

    At times it is convenient to plot shapes, lines and curves that do not represent data, but rather data regions of interest, or error bands, and so on. In these instances, additional series may be added to the chart, but should be excluded from the legend. Each ChartDataSeries contains a Boolean property called LegendEntry. If set to True, as it is by default, the series will be listed in the legend. If False, however, the series will be charted, but not listed in the legend.

    See Also