Skip to main content
Version: 8.3.2

Sweeping updates

Chart with sweeping line seriesChart with sweeping line series

There is no built-in "sweeping update" mode or equivalent in LightningChart JS. However, there are multiple relatively simple ways to achieve this.

The recommended approach depends on your performance requirement.

Simpler and more straightforward approach

Recommended if your total stream rate is less than 100 000 points per second.

(number of channels × frequency rate)

This approach is based on using the data edit API of PointLineAreaSeries in combination with data gaps.

Please reference the "Sweeping Line Chart" example for details.

More performant but also complicated approach

Recommended if your total stream rate is more than 100 000 points per second.

(number of channels × frequency rate)

This approach is based on two separate Line series (one for old data, another for newer data) and a Rectangle series for hiding overlapping data.

Please reference the "Sweeping Line Chart Dashboard" example for details.