Closed aligol20 closed 3 months ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and I will leave this open.
Could you post a repository where this bug can be reproduced easily? It would help with fixing the issue.
Hello @aligol20, We tried to reproduce that problem by drawing BarChart, and in our case, everything worked well. If you still have the same problem feel free to reopen the issue, Thank you.
I drawing horizontal bar chart with bellow code,It works fine in android but nothing show in ios
in ios
Bug
/**
const width = Dimensions.get('screen').width; const height = Dimensions.get('screen').height;
const TEXT_LENGTH = 50; const TEXT_HEIGHT = 29; const OFFSET = TEXT_LENGTH / 2 - TEXT_HEIGHT / 2;
interface Props { data: {label: string; value: number}[]; round: any; } /*
more details about how we draw charts is available at @link https://github.com/react-native-community/react-native-svg / const HorizontalBarChart: React.FC = ({data, round}) => {
const SVGHeight = 170;
const SVGWidth = 0.5 width;
return (