Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

125
Visualizações
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 Respostas
Responde à pergunta

0

Excellent explanation I used it myself

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

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda