Jump to content
Software FX Community

large amount of points with marker cause unbearable slowness


ron.kagan

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...