Table of Contents

Enum ChartUpdateTypes

Namespace
LightningChartLib.WinForms.Charting
Assembly
LightningChart.WinForms.Charting.NET4.dll

Defines how/when chart is updated and new frames are rendered.

public enum ChartUpdateTypes

Fields

Async = 1

Chart is updated on async fashion. The chart will update as fast as possible after property changes, but the property changes will return as fast as possible, and chart will render new frame at some later point.

This might make it easier to use chart on some cases. Note that this is a new feature and might contain some problems.

LimitedFrameRate = 2

Chart will limit the framerate of the updates to value defined by FrameRateLimit.

This is similar to the Async option, but keeps prevents new frames to be rendered right after another, thus reducing framerate, but sparing system resources.

Sync = 0

Chart is updated in sync fashion on property changes. This is the fastest way to get most performance out of the chart and to minimize latency.

Note that with this option it is crucial that property changes / date input is grouped inside BeginUpdate() / EndUpdate() method calls, and that the date input is done as large patches as possible, as otherwise every property change will result in new frame to be rendered, and the calls will happen on sync fashion.

This was the default and only option before LC v 8.1. To keep the old way, use this option.

Remarks

Note that size changes are handled separately and they can be changed to be handled in async way separately. Also the MoveToUIhread has similar effect to the Async options.