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

饼图使用formatter设置图片无反应问题

Open xiehaol opened this issue 6 years ago • 3 comments

label:{ normal:{

                                formatter:
                                [
                                    '{b}',
                                    '{Broadband|}',
                                ].join('\n'),
                                rich:{
                                    Broadband:{
                                        height:20,
                                        align: 'left',
                                        backgroundColor: {
                                            image: '/images/[email protected]'
                                        }
                                    }
                                }
                            } 
                        }

xiehaol avatar Jun 13 '18 11:06 xiehaol

是图片路径问题还是代码问题啊。。

xiehaol avatar Jun 13 '18 11:06 xiehaol

你的 [ '{b}', '{Broadband|}', ].join('\n'),可以起作用吗

CarisL avatar Aug 27 '18 03:08 CarisL

toJSONString 方法过滤掉/了

jaryWu avatar Jan 14 '19 08:01 jaryWu