react-native-highcharts icon indicating copy to clipboard operation
react-native-highcharts copied to clipboard

Charts not show data

Open kvrscream opened this issue 5 years ago • 4 comments

data: Captura de Tela 2019-07-10 às 09 49 54

result: Captura de Tela 2019-07-10 às 10 32 43

kvrscream avatar Jul 10 '19 13:07 kvrscream

Likely related to #96 - either the deprecated webview issue OR the originWhitelist issue...

njt1982 avatar Jul 23 '19 11:07 njt1982

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.

rgordon95 avatar Aug 14 '19 20:08 rgordon95

@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 avatar Oct 25 '19 02:10 lkum11

@lkum11 I had to do two things to get this working:

  1. Add scalesPageToFit={undefined} to the element: <ChartView style={styles.chart} config={conf} scalesPageToFit={undefined} />

  2. Switch to this PR: https://github.com/TradingPal/react-native-highcharts/pull/96

njt1982 avatar Oct 25 '19 08:10 njt1982