Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

218
Views
react native svg chart render duplicate text

I'm using `react-native-svg-chart' to create pie chart but I'm facing a problem that it's rendering duplicate text at the centre of pie chart(image below).

enter image description here

here is the code I'm using for it

   <PieChart
            style={{height: 262}}
            valueAccessor={({item}) => item.amount}
            data={data}
            outerRadius={'95%'}>
            <Text
              style={{
                position: 'absolute',
                left: deviceWidth / 2.3 - labelWidth / 3,
                textAlign: 'center',
              }}>
              hello
            </Text>
            <Labels />
          </PieChart>
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Try importing Text component from react-native-svg, like

import { Text } from 'react-native-svg'
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!