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

128
Views
How to change the color of Label in PieChart?

I want to change the color of the number shown by the label inside the Doughnut chart from devextreme-react/pie-chart library, but I can't.

This is my code

    <PieChart
      id="pie"
      type="doughnut"
      palette="Soft Pastel"
      dataSource={opciones}
      centerRender={CenterTemplate}
      onPointClick={pointClickHandler}
    >
    <Series
      argumentField="campo"
      valueField="value">
      <HoverStyle color="red" />
      <Label
        fontColor= "black"
        position="inside"
        visible={true}
        customizeText={customizeLabel}
        backgroundColor="none">
      </Label>
    </Series>
    <Legend
      margin={0}
      horizontalAlignment="right"
      verticalAlignment="top"
      columnCount={2}
      rowCount={15}
      />

    <Export enabled={true} />
  </PieChart>

And this is the result

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Excellent explanation I used it myself

https://www.youtube.com/watch?v=RF57yDglDfE

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!