toomuchdesign/react-minimal-pie-chart

Label font color not changing

mcctrix opened this issue · 1 comments

Do you want to request a feature or report a bug?

...
reporting a bug

What is the current behaviour?

color and backgroundColor property not working to change label color in piechart
i have tried fontColor as shown in a article https://medium.com/@tgknapp11/render-a-chart-with-react-minimal-pie-chart-e30420c9276c but still no luck
...

What is the expected behaviour?

it suppose to change label color
...

Steps to Reproduce the Problem

  1. ... labelStyle={{fontColor: ""white}}
  2. ...
  3. ...

Specifications

  • Version:
  • Platform:
  • Subsystem:

'labelStyle' must return a set of SVG attributes.