Skip to content

Piechart legends label is not respected #794

@cerber717

Description

@cerber717

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

label: arc.data.id,

Metadata

Metadata

Assignees

No one assigned

    Labels

    🍰 pie@nivo/pie package

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions