Closed d12544 closed 5 years ago
Could you please tell me how you solved this issue. Thanks.
@pavaleanuL
Replace this.state in react-native-highcharts/app/index.js and react-native-highcharts.js with the below code.
this.state={ init:
<style media="screen" type="text/css">
#container {
width:100%;
height:100%;
top:0;
left:0;
right:0;
bottom:0;
position:absolute;
user-select: none;
-webkit-user-select: none;
}
</style>
<head>
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/solid-gauge.js"></script>
<script src="https://code.highcharts.com/highcharts-more.js"></script>
<script src = "https://code.highcharts.com/modules/heatmap.js"></script>
<script src = "https://code.highcharts.com/modules/treemap.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<script>
$(function () {
Highcharts.setOptions(${JSON.stringify(this.props.options)});
Highcharts.${this.props.stock ? 'stockChart' : 'chart'}('container', `,
end:` );
});
</script>
</head>
<body>
<div id="container">
</div>
</body>
</html>`,
Wlayout:{
height:win.height,
width:win.width
}
}`
var conf1={ chart: { type: 'waterfall', animation: Highcharts.svg, },
return (