Open leileizhu opened 7 years ago
@leileizhu No, you don't need to purchase any license for unlocking any highcharts feature see #20 for more info on this. this has to be something else, can you provide some code maybe your config json
@donaldmorton[Object,, Object, Object, Object, Object, Object, Object, Object, Object, Object…] the Object construct is {name:"Val0" sid:"00011013" unit:"Kpa" updatime:"2017-04-14 00:01" value:"189.1"}, i follow the example to write the code......
@leileizhu Could you please tell us what version you are using? Your description seems similar to issue #4 that affected older versions of this library. Tooltips worked in debug/simulator mode but not in release modes. The issue was that functions in the Highcharts configuration object were not being translated correctly. This should no longer be the case in the latest version.
@jonrh 1.0.1
@leileizhu Thanks! In that case we might have a legitimate new bug. Could you please create a repository with code that replicates/demonstrate the behaviour that you have? Something similar to this. A lot of us are running react-native-highcharts already in production with no problems so it's important we try to figure out what is going wrong because chances are it's happening to other people too, so thanks for letting us know!
The tooltip issue in real devices is with the functions Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', this.x),Highcharts.numberFormat(this.y, 2).
Instead of using the Highcharts functions to converts number and date to string, use the javascript function toString(). It will work in real device also
on the debug version,when i touch the point of line,it show tooltip, but on the release version,it can't show the tooltip when i touch the point of line, did i forgot something to add ?or what i should watch out,Do I need purchase any license for using it ?