Skip to content
New issue

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

PieChart设置圆环设置为3D,中间圆环与iOS显示不一致 #7

Open
xuxiaoqian1 opened this issue Aug 1, 2024 · 0 comments

Comments

@xuxiaoqian1
Copy link
Collaborator

xuxiaoqian1 commented Aug 1, 2024

描述 / Description

现象: 中间圆环与iOS显示不一致。

根因:harmonyOS 加上svg相关代码后,显示效果与iOS不一致,svg问题。issues#285

问题复现demo:

import { PieChart } from 'react-native-gifted-charts';

const pieData = [{ value: 50 }, { value: 20 }, { value: 40 }];

export default function () {
   return (
     <PieChart data={pieData}  donut={true} isThreeD={true}></PieChart>
   )
}

harmony:

iOS:

复现步骤 / Steps to reproduce

No response

库版本 / Library version

1.4.16-0.0.1

React Native OpenHarmony version

0.72.27

构建类型 / Build type

Debug app & dev bundle

设备 / Device

Real device

设备版本 / Device model

Mate 60 pro(3.0.0.29)

已悉知 / Acknowledgements

Yes

@xuxiaoqian1 xuxiaoqian1 changed the title ProChart设置圆环设置为3D,中间圆环与iOS显示不一致 PieChart设置圆环设置为3D,中间圆环与iOS显示不一致 Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant