Static image rendering for performance
The dynamic SVG plots could be replaced by a static image of the plots, similar to how the exported PNG looks. The choice between dynamic and static could be made at runtime based on the size of the dataset.
I'm generating scatter plots based on data from a database. The plots looks great, however the performance gets to be a probably when the plot has more than 1000 points.
-
Jeffrey King commented
I'd love to be able to call for a chart using an image tag, similar to Google Static Maps. Not only could this function as a fallback for disabled javascript, but the charts could also be included in dynamically generated documents (like downloadable pdfs).
-
Andrei Pascu commented
I can't imagine this would be too hard. Highcharts could write out the SVG file locally and send a local AJAX request for the image. The PHP code would called the batik rasterizer and return the png, which would then be rendered in the background of an empty Highcharts canvas.
-
Andrei Pascu commented
Not sure how to post a sample image of what the plots looks like, but one such image can be made available.