Code Monkey home page Code Monkey logo

Comments (7)

jigs611989 avatar jigs611989 commented on July 30, 2024 9

Hi Guys, I did face the same issue, In my case I didn't pass Options in props so its creating issue, it wasn't creating issue earlier.
Just pass options as props like below for quick fix.
<ChartView style={{ flex: 1, height: 250 }} config={graphConfigData} javaScriptEnabled domStorageEnabled originWhitelist={['']} options='' />

I have crated Pull Requested by fixing null/undefined option props.

https://github.com/TradingPal/react-native-highcharts/pull/114/files

from react-native-highcharts.

njt1982 avatar njt1982 commented on July 30, 2024 2

@jigs611989 this solved a mysterious disappearing chart for our React Native on ios app too.

from react-native-highcharts.

intruder09 avatar intruder09 commented on July 30, 2024 1

@tackanoway35 thanks man
just need to edit src of js in change react-native-highcharts.js

<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
                    ${this.props.stock ? '<script src="https://code.highcharts.com/stock/7.2.0/highstock.js"></script>'
                                  : '<script src="https://code.highcharts.com/7.2.0/highcharts.js"></script>'}
                    ${this.props.more ? '<script src="https://code.highcharts.com/7.2.0/highcharts-more.js"></script>'
                                  : ''}
                    ${this.props.guage ? '<script src=""https://code.highcharts.com/7.2.0/modules/solid-gauge.js"></script>'
                                  : ''}
                    <script src="https://code.highcharts.com/7.2.0/modules/exporting.js"></script>
                    <script>

from react-native-highcharts.

Yonatanos avatar Yonatanos commented on July 30, 2024

Hi finpeg123,
I'm sharing the same problem.
The cause is that the library uses external scripts, which were updated on 31-10-2019.
Hope it will be fixed soon.

The external scripts are being used on index.js and on react-native-highchart.js:

<head> <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> ${this.props.stock ? '<script src="https://code.highcharts.com/stock/highstock.js"></script>' : '<script src="https://code.highcharts.com/highcharts.js"></script>'} ${this.props.more ? '<script src="https://code.highcharts.com/highcharts-more.js"></script>' : ''} ${this.props.guage ? '<script src="https://code.highcharts.com/modules/solid-gauge.js"></script>' : ''} <script src="https://code.highcharts.com/modules/exporting.js"></script> <script>

from react-native-highcharts.

jackcb123 avatar jackcb123 commented on July 30, 2024

Hi, I have the same issue :/ all graphs in my app just went blank on 31-10-2019 as you said @Yonatanos

Does anyone know if this is a known issue by the developers of those scripts? Is it affecting other highcharts wrappers or just this one? If not, any ideas on who we can contact or are we just supposed to wait...?

from react-native-highcharts.

tackanoway35 avatar tackanoway35 commented on July 30, 2024

I fixed it by adding version for all external script js
Exp: https://code.highcharts.com/7.2.0/modules/exporting.js

from react-native-highcharts.

intruder09 avatar intruder09 commented on July 30, 2024

can you please just paste the code

from react-native-highcharts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.