highcharts/highcharts-react-native

Highchart disappears in landscape mode

Niravpatel129 opened this issue · 5 comments

My highchart which is contained by a View disappears when the iPhone is moved into landscape mode, any way to suppress this behaviour?

Code for highchart:

  return (
    <View style={{ flex: 1 }}>
      <HighchartsReactNative
        useCDN={true}
        useSSL={true}
        styles={styles.container}
        options={chartOptions}
        modules={modules}
      />
    </View>
  );

Hi @Niravpatel129,
Thank you for reporting, I will test it.

I have the same problem. Everything seems to work fine before the change to Landscape mode. The chart never shows up again, even not when the phone rotates back to portrait mode.

We are debugging the problem, will let you know when find a reason.

The problem was caused by declaration param: orientation in the App.js. Please remove that and test once more.

The new 3.0 version is released.

Im closing this ticket. If you will encounter any problems, please create a new ticket. In this case we will avoid confusing and keep the newest version on track.