You must be logged in to post your query.
Home › Forums › StockChart Support › Charts not rendering on ipad – bug?
I am using stockcharts and a simple json data set with stockcharts.
Everything renders well on desktop – chrome – but on ipad (Safari) I see no charts rendering at all and only see the hamburger menu (for print/export) displayed for each of the 20 charts I am trying to display on the page.
What is the issue?
The memory for canvas buffer memory is limited to 25% of the RAM of the device. However, we have optimized memory consumption in CanvasJS v2.3.1 and v3.6. Kindly download the latest version of CanvasJS Charts from our download page.
If the issue still persists, kindly create a sample project reproducing the issue you are facing and share it with us over Google Drive or OneDrive so that we can look into your code, run it locally at our end to understand the scenario better, and help you out?
Thank you for your response. I am using the latest version of these packages. I can’t produce a sample project but I can show you a video of it happening. I have just posted about this in the stockcharts forum as well. This really isn’t good and I did expect more from this package
to recreate, just render a page with 20 stockcharts on it and display on an ipad. I am using ipad air with 128MB and apparently 32MB is not enough for the charts. So they are using > 1.5MB per chart for a simple OHLC chart with volume underneath and around 30 datapoints.
You can try lazy loading the charts. We have tested the same using jquery.inview & it seems to perform better compared to the regular way of rendering charts / stockcharts.
Please check this JSFiddle for a working example.
You must be logged in to reply to this topic. Login/Register