highcharts / highcharts-react-native

Other
103 stars 79 forks source link

Highcharts not rendering but "Chart title" and highcharts label displays. #75

Closed jgeliberte closed 4 years ago

jgeliberte commented 4 years ago

i tried doing the sample code and implement the changes for the web view of react native and i was able to do it properly (moving the highcharts folders to android/app/src/main/assests).

The problem is when i tries to load the graph it only shows the "Chart title" and highcharts indicator at the bottom right corner of the screen. There is no error showing so i was wondering what could be the problem.

96026007_3700300423377365_108992435882819584_n

here is the image of the highcharts section on my android device. im running :

"@highcharts/highcharts-react-native": "^2.2.1",
"react": "^16.13.1",
"react-base": "^0.2.0",
"react-native": "0.61.0",
"react-native-webview": "^9.4.0",
sebastianbochan commented 4 years ago

Could you share your chart's options (including data) ?

jgeliberte commented 4 years ago

Could you share your chart's options (including data) ?

I used the one in the guide.

<HighchartsReactNative
                    styles={styles.container}
                    options={this.state.chartOptions}
                />

and for the data

{
            chartOptions: {
                series: [{
                    data: [1, 2, 3]
                }]
            }
        };
lucasnovelo commented 4 years ago

Could you share your chart's options (including data) ?

I used the one in the guide.

<HighchartsReactNative
                    styles={styles.container}
                    options={this.state.chartOptions}
                />

and for the data

{
            chartOptions: {
                series: [{
                    data: [1, 2, 3]
                }]
            }
        };

Try to add useCDN option

sebastianbochan commented 4 years ago

Closed due to inactivity.