Ryan
Ryan
哥们,你这都不是问题,我现在问题更操蛋,项目run完了之后,临门一脚了报了个大错。 console.error: "Unhandled promise rejection", {"line":109121,"column":98,"sourceURL":"http://10.0.3.2:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false"} 我看这个组件还是别用了,坑太多了,我现在已经被折腾三天了,项目都崩的回不去了,只有把上个版本的备份重新修改了。都是泪呀!!!!RN交流方便加我Q:1414770848
I'm running into this issue too
Do you have any idea to reslove this problem?
thanks @JoeScho ,for each all value first,if all value is zero ,then make max equles 1.else make max equles null.perfect!
我也是,什么鬼,你怎么解决的?是不是换了其他的第三方库了?
这个问题在github上已经解决了,我给你发一下具体操作流程 首先 node_modules\native-echarts\src\components\Echarts 找到这个文件路径,然后找到路径下面的这个文件,tpl.html 拷贝这个文件到android的assets这个目录下,没有这个目录就新建一个。 然后更改Echarts目录下的index文件中的source 。这样打签名包就可以显示了。 还有个问题,解决图表刷新闪屏问题。也是上面这个index文件。代码给你发一下,原原本本拷贝替换就可以。 import React, {Component} from 'react'; import {WebView, View, StyleSheet} from 'react-native'; import renderChart from './renderChart'; import echarts from './echarts.min'; export default class...
if there have no assets directory, build one under android/java/ res, the tpl. html I had show you
真不知道还需要更改哪里才能跑起来,现在的版本到了0.46了,已经不能用这个0.17版本的做了。也是挺急的,有没有人解决一下?