I have a large dataset(around 50000 points in a list) which has be visualized in a line chart.The size of Canvas may vary according to the size of dataset. Massive amount of points makes the drawing too slow.It also results in cluttering and overlapping of points due to plotting of several points close to each other.So visual representation of data will be unsatisfactory. How can I display subset of available points which will increase the performance? Can anybody suggest me with a suitable algorithm which will help to extract the subset of actual number of points?



LinkBack URL
About LinkBacks



I am using Line and Path to draw data points.I have tried taking average of two consecutive points so that number of points would reduce to half.But it would not be feasible since it will not show proper values.What I want is i need to process the original list of points like filtering(sampling of data) and excluding unnecessary points.for example if the points are (2,1) (4,2) (6,3) the intermediate point (4,2) can be removed.Can you please help me how can I exclude some points? 