I have a collection of 50000 points List<DataPoint> DataPoints;Each item in this collection contains (X,Y) co ordinates. These points have to be drawn using line and path in my line chart. Canvas size may vary. Drawing the entire collection will increase the load time. Hence I need to filter the points in such a way that I can get a sub collection of lesser number of points and this list will not affect shape of the chart to larger extent and also renders quickly. Suppose there are points like (1,2)(2,4)(3,6) which passes through same line. I can exclude(2,4). This method can be used as a first order filter. Is this a proper solution?Can anyone please suggest or help me out how I can filter it further. Like excluding points which are very close to each other?
Sorry, but you are not allowed to view signatures , please Register or Login