Hello
I’m developing a proof of concept application using ASP.Net Razor Pages and CanvasJS. Users will require access the application via desktop and mobile. The CanvasJS Charts appear to work well on desktop web browsers, e.g. Edge, Chrome etc.
However, the performance of the CanvasJS charts when using iOS on either an iPhone or iPad is unreliable. The charts sometimes appear, and sometimes don’t. Even after a page refresh, the charts still are unlikely to appear. It can take up to 10 refreshes of the page before the CanvasJS chart will pear. Other times, they will appear on the initial page load. Very strange, but not good for users.
I’ve provided a link to Google Drive where a sample of the application can be downloaded.
https://drive.google.com/file/d/1ov4HbdVq1iZ3eLWU0YXsdC5dIGKymlVw/view?usp=sharing
You’ll notice that there are 2 AJAX calls for data, one to help plot the data points, the other to plot the stripe lines.
I’m not sure if my approach here is best practice and I’m happy to amend if that could improve the performance of the charts on iOS.
Any feedback is much appreciated.
Many thanks.