ron.kagan Posted July 1, 2010 Report Share Posted July 1, 2010 Hello. my charts usually contains large amount of points on a line type chart (hundred of thousands). when this amount is shown without markers, chart is drawn pretty quickly considered the large amount of data. when the markers are visible this becomes very slow to the point of unusable. is there any way to be able to work with markers with this amount of data ? This i s very critical to our project as this is a must have feature being able to handle large data. Quote Link to comment Share on other sites More sharing options...
JuanC Posted July 1, 2010 Report Share Posted July 1, 2010 We have a feature in a non-XY line chart where the marker size will decrease if the points are close together and at some point will dissapear, e.g. if you have more points than pixels the markers would just hide the trend line obscuring the plot. If you have an XY chart (or you are setting the Marker Size manually) with hundreds of thousands of points I am afraid there are not a lot of options - Change the Marker templates used in the chart using the MarkerTemplates property, e.g. chart1.MarkerTemplates = ChartFX.WPF.Motifs.Basic.MarkerTemplates, our default templates might be a little too complex for your scenario. - Hide the markers To try to measure the "blame" you might want to try creating a canvas and adding hundreds of thousands of visuals, note for example that if you resize the chart we have to calculate the new position for all the visuals and move them. I think WPF in general with current hardware still does not scale to this level, also note that unless you are using scrolling we cannot do any virtualization as all markers are visible. JuanC Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.