Giter Club home page Giter Club logo

Comments (8)

zuifengwuchou avatar zuifengwuchou commented on August 18, 2024

@lin493369 option中有function貌似就显示白屏,请问你问题解决了吗?

from react-native-echarts.

lin493369 avatar lin493369 commented on August 18, 2024

@zuifengwuchou 没有,等待解决。。有点烦人

from react-native-echarts.

520Yanxiaofei avatar 520Yanxiaofei commented on August 18, 2024

有人已经解决了吗?

from react-native-echarts.

fenglingcao326 avatar fenglingcao326 commented on August 18, 2024

遇到同样的问题

from react-native-echarts.

jlapton avatar jlapton commented on August 18, 2024

我试了很多次,还不是绝对的有function就出现这个问题,不知道什么原因,太抓狂了:
`

xAxis: [
{
type: 'category',
data: xaxisData,
axisLabel: {
interval: function(index, value) {
return value === ''; //这样就白屏
return index === 50; //这样就能显示

                                }
                            }
                        }
                    ]

`

from react-native-echarts.

jlapton avatar jlapton commented on August 18, 2024

大概是util/toString里面,将方法转换成纯文本时出现的问题。
debug版本没有问题,release版本中估计是生成jsbundle时做了类似“混淆”的处理,导致转换出来的文本有些偏差,变成了function(e,t){return""!=t}这样(缺少空格?或者是引号的问题?),但是还没搞清楚应该怎么改。@somonus

from react-native-echarts.

jlapton avatar jlapton commented on August 18, 2024

是不是回调函数里有""包含的字符串?要是的话可以参考 #34

from react-native-echarts.

Malenconiaprincep avatar Malenconiaprincep commented on August 18, 2024

format 返回自定义样式 release 无法显示

from react-native-echarts.

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.