We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
大家好,我的图表无法正常在android设备展示,但是在iOS正常;Hello, my chart doesn't work on Android devices, but it works on iOS;
import React from "react"; import { View } from "react-native"; import RNEChartsPro from "react-native-echarts-pro"; export default function ChartsComponent() { const pieOption = { tooltip: { trigger: "axis", }, legend: { type: "scroll", // 设置图例翻页 orient: "horizontal", // 图例横 data: ["邮件营销", "联盟广告", "视频广告", "直接访问", "搜索引擎"], }, grid: { left: "3%", right: "4%", bottom: "3%", containLabel: true, }, xAxis: { type: "category", boundaryGap: false, data: ["周一", "周二", "周三", "周四", "周五", "周六", "周日"], }, yAxis: { type: "value", }, series: [ { name: "邮件营销", type: "line", stack: "总量", data: [120, 132, 101, 134, 90, 230, 210], } ], }; return ( <View style={{ height: 300, paddingTop: 25 }}> <RNEChartsPro onPress={res => alert(JSON.stringify(res))} legendSelectChanged={res => alert(res)} height={250} option={pieOption} /> </View> ); }
希望能够帮助到大家! Hope to be able to help everyone!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
为了减少沟通,快速定位问题,希望提issue前,能提供以下信息:
In order to reduce communication and quickly fix problems, I hope the following information can be provided before you submit new issue:
Such as ,比如:
大家好,我的图表无法正常在android设备展示,但是在iOS正常;Hello, my chart doesn't work on Android devices, but it works on iOS;
希望能够帮助到大家!
Hope to be able to help everyone!
The text was updated successfully, but these errors were encountered: