Describe/explain the bug
While using ResponsivePie with data :
data = [ { 'id': 'id_of_metric', 'label': 'Metric, 'value': 434, }}
the label is not set to the what is in the data object but rather to the id.
I dug into it a little bit and found that the issue could be in here
Describe/explain the bug
While using
ResponsivePiewith data :data = [ { 'id': 'id_of_metric', 'label': 'Metric, 'value': 434, }}the label is not set to the what is in the data object but rather to the id.
I dug into it a little bit and found that the issue could be in here
nivo/packages/pie/src/PieLegends.js
Line 50 in 41dd564