react-native-highcharts
react-native-highcharts copied to clipboard
Charts not show data
data:
result:
Likely related to #96 - either the deprecated webview issue OR the originWhitelist
issue...
I am having a similar issue where passing in data such as [ 1564600076000, -1.0469641205323788 ], [ 1564340876000, -1.0469641205323788 ], [ 1564081676000, -1.0469641205323788 ], [ 1563822476000, -1.0469641205323788 ],
the time will show or the data will show but I can't seem to get both to display.
@kvrscream did you find any solution? I am facing the same issue, It's rendering fine on android but IOS is showing just white space.
@lkum11 I had to do two things to get this working:
-
Add
scalesPageToFit={undefined}
to the element:<ChartView style={styles.chart} config={conf} scalesPageToFit={undefined} />
-
Switch to this PR: https://github.com/TradingPal/react-native-highcharts/pull/96