highcharts / highcharts-ios

iOS wrapper for Highcharts.
Other
127 stars 39 forks source link

HIChart() has no member zoom type #444

Closed KOSURUUDAYSAIKUMAR closed 3 months ago

KOSURUUDAYSAIKUMAR commented 4 months ago
let chart = HIChart()

chart.zooming.type = "xy" options.chart = chart

When I am wrote the code - App is getting crashed.

I am using the https://www.highcharts.com/demo/ios/combo-multi-axes to integrate in iOS application.

MikolajMichalczak commented 4 months ago

HI @KOSURUUDAYSAIKUMAR!

Please initialize chart.zooming with HIZooming() before setting its type property:

let chart = HIChart()
chart.zooming = HIZooming()
chart.zooming.type = "xy"
options.chart = chart
MikolajMichalczak commented 3 months ago

Closing due to inactivity. Please feel free to reopen the ticket if you have any further questions.