08-05-2022, 07:16 AM
(This post was last modified: 08-05-2022, 07:28 AM by Alexandre Machado.)
There is no way you can expect ChartJS with almost half million values to display instantaneously. It hasn't been designed for it.
https://stackoverflow.com/questions/3181...-js-handle
The data for the series alone will have at least 2 Mb or more, but it can hit 10+ Mb depending on the type of the data, meaning that your page's HTML can be in the order of dozens of Mb. It needs to be generated on server side, compressed, transferred, parsed by the browser, parsed and interpreted by the ChartJS code and then rendered in the canvas.
Out of curiosity, how long does it take to display a chart of this size? The rendering process on IW side is highly optimized using our superfast string builder... It's hard to imagine it being faster than that. Compression is blazing fast. All the other processes are out of IntraWeb's control...
https://stackoverflow.com/questions/3181...-js-handle
The data for the series alone will have at least 2 Mb or more, but it can hit 10+ Mb depending on the type of the data, meaning that your page's HTML can be in the order of dozens of Mb. It needs to be generated on server side, compressed, transferred, parsed by the browser, parsed and interpreted by the ChartJS code and then rendered in the canvas.
Out of curiosity, how long does it take to display a chart of this size? The rendering process on IW side is highly optimized using our superfast string builder... It's hard to imagine it being faster than that. Compression is blazing fast. All the other processes are out of IntraWeb's control...