Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

127
Vistas
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 Respuestas
Responde la pregunta

0

Excellent explanation I used it myself

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

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda