Closed tomerf8 closed 7 years ago
Highstock module is not included by default on this module but you can make a small change to do so,
you have to modify the default web template located at the this.state.init
from react-native-ChartView.js try replacing line 103,
<script src="https://code.highcharts.com/highcharts.js"></script>
with
<script src="http://code.highcharts.com/stock/highstock.js"></script>
Thanks. It's solves the problem.
It's a bit ugly of course, but it's possible to duplicate the ChartView component and export a HighStock version.
it would be a better idea to add a prop for using highstock, it could look like this:
<ChartView style={{height:300}} config={conf} useHighstock={true}></ChartView>
I'm trying to implement the HighCharts demo at: https://jsfiddle.net/gh/get/jquery/3.1.1/highslide-software/highcharts.com/tree/master/samples/stock/demo/candlestick-and-volume/
In this example there are 2 series of data, styling is a bit different
I'm getting a blank screen