Skip to main content

DXChartBase.SuspendRender() Method

Suspends the chart render.

Namespace: DevExpress.Xamarin.iOS.Charts

Assembly: DevExpress.Xamarin.iOS.Charts.dll

NuGet Package: DevExpress.XamarinForms.Charts

Declaration

public virtual void SuspendRender()

Example

Wrap the code that adds large number of series with SuspendRender()/ResumeRender() methods to enhance chart performance:

this.chart.SuspendRender();
for (int i = 0; i < 100; ++i) {
    this.chart.AddSeries(new DXLineSeries{
        Data = GenerateRandomPoints()
    });
}
this.chart.ResumeRender();
See Also