Nice Optimization you did!
But i think that will not works correct for all points data! It works only for x sorted points.
I did not look in detail your changes. But I will do!
Overall, nice realization!
Thank Ion
Yes it is. Both optimizations are centered on X data series. Remember the names. Both ends with "X":
- SetSequentialX: Requires a series of ordered data in X axis
- SetFastViewX: Minimizes pixel drawing considering X axis
Both optimizations could be implemented for vertical series. For real XY plots (like a circle) they are not useful.
However in many cases (from my experience) datasets are sequentially ordered following X axis. And the speed improvement is very high.