Skip to main content

ChartControl.ResetLegendPointOptions() Method


This method is obsolete now. Use the ResetLegendTextPattern() method instead.

Cancels the changes applied to the SeriesBase.LegendPointOptions for each series and makes it equal to the SeriesBase.PointOptions.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v22.2.UI.dll

NuGet Package: DevExpress.Win.Charts


[Obsolete("This method is obsolete now. Use the ResetLegendTextPattern method instead.")]
public void ResetLegendPointOptions()


You can use the SeriesBase.LegendTextPattern property to customize the information and format displayed in the chart’s legend. However, to reject the changes and synchronize the information and its display format of the chart’s legend with that of the series points, Set the LegendTextPattern property to String.Empty. It affects all series of the chart, created via the series template and individually.

See Also