Replies: 2 comments
-
The rendering blocks the JavaFX thread, so I don't think you can provide updating indicators without moving the rendering to a background thread. You could try using AWT's Graphics2D rendering routines to draw into a PixelBuffer, and then draw the resulting image on the chart Canvas. Foojay has more information on that. That being said, this data viewer shows ~5M datapoints per chart and renders fairly smoothly. Maybe you can reduce the workload a bit by e.g. doing more aggressive reductions and not rendering error bars and points. Points would also be simpler to render than lines. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to render over 2 million points and depending on the noise level rendering all of them takes between 3 and 10 seconds. I need a solution to detect whether rendering is done or rendering in progress to show it to the user
Beta Was this translation helpful? Give feedback.
All reactions