ABTSoftware / SciChart.JS.Examples

MIT License
76 stars 36 forks source link

Safari IOS 17: Error from chart in div instrument_candle_chart_2 #197

Closed avdeeviv closed 5 months ago

avdeeviv commented 9 months ago

By scrolling CandleStick:

SciChartSurface.js:

this.sciChartRenderer.render(context);

In SciChartSurface.prototype.doDrawingLoop.

avdeeviv commented 9 months ago

RuntimeError: Out of bounds call_indirect (evaluating 'invoker(fn, thisWired, arg0Wired, arg1Wired, arg2Wired, arg3Wired, arg4Wired, arg5Wired, arg6Wired, arg7Wired, arg8Wired)

chaoticvibe commented 9 months ago

I'm facing the same problem, the chart just disappear without reason. IOS >= 17

avdeeviv commented 8 months ago

error here: OhlcSeriesDrawingProvider.prototype.draw, first call:

this.nativeDrawingProvider.DrawPointsVec(nativeContext, xDrawValues, openValues, highValues, lowValues, closeValues, renderPassData.xCoordinateCalculator.nativeCalculator, renderPassData.yCoordinateCalculator.nativeCalculator, this.args);

chaoticvibe commented 8 months ago

error here: OhlcSeriesDrawingProvider.prototype.draw, first call:

this.nativeDrawingProvider.DrawPointsVec(nativeContext, xDrawValues, openValues, highValues, lowValues, closeValues, renderPassData.xCoordinateCalculator.nativeCalculator, renderPassData.yCoordinateCalculator.nativeCalculator, this.args);

Thank You!!! Great i'll try this, my bug just occuring with IOS>=17 , so in IOS 16~ it's working normally, android browsers working too.

antichaosdb commented 5 months ago

Sorry for the delay. We finally tracked down and solved this issue. Safari seems to have a limitation on the number of parameters to a webassembly call. Fix is released in v 3.2.549. changelog