Closed 1974892005 closed 1 year ago
你好,我的柱状图图表 y轴内容 不能显示完全 超过三位数 显示不出来
react-native-echarts-pro【1.8.7】 react-native version【0.70.1】 react-native-webview 【11.23.1】 Platform【android】 System【12 | 10】 code:
<RNEChartsPro height={240} option={{ tooltip: { trigger: 'item' }, xAxis: { type: 'category', data: ['Mon', 'Tue', 'Wed', 'Thu'] }, yAxis: { type: 'value', }, grid: { left: '10%' //此值无效 }, series: [ { data: [981, 444, 150, 111, 720, 888, 130, 123, 234, 77, 435], type: 'bar', barMaxWidth: 40, itemStyle: { color: AppColor.echarts.blue } } ], }} webViewSettings={{ style: { marginHorizontal: 10, backgroundColor: AppColor.TP, padding: 30, marginTop: -40, } }} />
已解决
那我关闭了哈,另外,可以分享下解决方案,以帮助更多的人。
你好,我的柱状图图表 y轴内容 不能显示完全 超过三位数 显示不出来
react-native-echarts-pro【1.8.7】 react-native version【0.70.1】 react-native-webview 【11.23.1】 Platform【android】 System【12 | 10】 code: