Multi chart series issue for hiding certain data points on chart plot


I am working on a react single page application and trying to integrate DHTMLX line Chart from Suite 7.0, and want to hide certain data object points in a chart series.

A similar issue was resolved using DHTMLX Suite 5.0. Link provided below.

Looks like the addSeries() method is deprecated in DHTMLX Suite 7.0. So is there any alternative solution for resolving my issue?

Unfortunately it is not available to hide some interval of the line chart in the dhx.Suite 7.

The chart is rendered via an SVG element. So it means that you can use the clip-path property to display only the specific part of the SVG element.
By using the CSS variables, you can dynamically change the crop position.
Here is an example of how it can be implemented: