Since I have a lot of data points (>100k) I need to reduce the amount of replots. If only a small amount of the data is in visible range I need to replot the chart after a new point is added, but if more than 10k points are visible, I want to replot the chart only after adding 10 point. How can I get the number of visible points?