Title: plotting is very slow with large amounts of particles (>300k). Options for Oxyplot GL plot? · Issue #2137 · oxyplot/oxyplot · GitHub
Open Graph Title: plotting is very slow with large amounts of particles (>300k). Options for Oxyplot GL plot? · Issue #2137 · oxyplot/oxyplot
X Title: plotting is very slow with large amounts of particles (>300k). Options for Oxyplot GL plot? · Issue #2137 · oxyplot/oxyplot
Description: In my case I am plotting the values of measured particles. The amount of particles in a file can range from 1000 particles to 1.25 milion particles. I am plotting these with a scatter series with logarithmic axes. When plotting around 10...
Open Graph Description: In my case I am plotting the values of measured particles. The amount of particles in a file can range from 1000 particles to 1.25 milion particles. I am plotting these with a scatter series with l...
X Description: In my case I am plotting the values of measured particles. The amount of particles in a file can range from 1000 particles to 1.25 milion particles. I am plotting these with a scatter series with l...
Opengraph URL: https://github.com/oxyplot/oxyplot/issues/2137
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"plotting is very slow with large amounts of particles (\u003e300k). Options for Oxyplot GL plot?","articleBody":"In my case I am plotting the values of measured particles. The amount of particles in a file can range from 1000 particles to 1.25 milion particles. \nI am plotting these with a scatter series with logarithmic axes. When plotting around 10~30k points, this takes barely any time, about 0.05 seconds or less (render time). But the there seems to be a exponential factor to the render time. In my tests, 3k points took around 0.007 seconds, 30k 0.08 seconds, **300k 7.4 seconds**. The initial render taking this long is one thing, but panning is also basically impossible, taking a similar time to update.\n\nFor alternatives I tried another open source plotting library we had on our minds at first: ScottPlot. \nScottPlot in normal mode experiences similar problems with similar render times, which makes sense given they also run skiaSharp under the hood. \nBut ScottPlot has also implemented an OpenGL version of the wpf plot through skiasharp. This plot can plot the 300k particles in less than a second and update with about 300 fps while panning and zooming. \n\nWe currently have our plots written completely in Oxyplot, so I have the following questions: Is there a way to improve the render/update time with these amounts of particles with the current version? Are there any plans to implement an SkiaSharp openGL version of PlotView in Oxyplot?\nIf not, would such a version be welcome if we attempted to implement it ourselves? And how feasable would this be?\n\n\n- Oxyplot.SkiaSharp.Wpf plotview\n- OxyPlot version: 2.2.0\n- Edgerendering mode preferSpeed\n- MarkerType Circle (other types do not privide significant improvement)\n- markersize 1.2","author":{"url":"https://github.com/Spordoz","@type":"Person","name":"Spordoz"},"datePublished":"2025-04-15T10:32:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/2137/oxyplot/issues/2137"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:18af1ade-febf-2a2a-6221-557ea51915d6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E5B0:6F78D:26496DA:326CCEC:69648669 |
| html-safe-nonce | 3d2552eec25dfc9875f59926d5f1e83c7e0895dcd9fde23192f38844bf8348f7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUIwOjZGNzhEOjI2NDk2REE6MzI2Q0NFQzo2OTY0ODY2OSIsInZpc2l0b3JfaWQiOiI4NTI1NzE1MTY0NzIxNjEyMzkzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 85014423c95f4fae4e271820270f904a779c0f5809120fd65af718216a3a4e77 |
| hovercard-subject-tag | issue:2995968571 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/oxyplot/oxyplot/2137/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0222f4c1d208471400105f5703e0584c79ffa9c9035b9c0617968b327a0f035e/oxyplot/oxyplot/issues/2137 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0222f4c1d208471400105f5703e0584c79ffa9c9035b9c0617968b327a0f035e/oxyplot/oxyplot/issues/2137 |
| og:image:alt | In my case I am plotting the values of measured particles. The amount of particles in a file can range from 1000 particles to 1.25 milion particles. I am plotting these with a scatter series with l... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Spordoz |
| hostname | github.com |
| expected-hostname | github.com |
| None | baa7d9900fdf7b27d604f36887af878d569cfbdcf97126832a5f4f0caf0c6ba5 |
| turbo-cache-control | no-preview |
| go-import | github.com/oxyplot/oxyplot git https://github.com/oxyplot/oxyplot.git |
| octolytics-dimension-user_id | 8432466 |
| octolytics-dimension-user_login | oxyplot |
| octolytics-dimension-repository_id | 22894999 |
| octolytics-dimension-repository_nwo | oxyplot/oxyplot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 22894999 |
| octolytics-dimension-repository_network_root_nwo | oxyplot/oxyplot |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 842eff1d11f899d02b6b3b98fa3ea4860e64b34e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width