Skip to content

when the label is a color like "red" it renders "rgb(255,0,0) #928

@lonelydatum

Description

@lonelydatum

Hello and thanks for the great library!

I've reproduced the issue here but I need the animation so what solution?:
https://codesandbox.io/s/k062y8l13v

the fix is to comment out the animate property
<VictoryPie
// animate={{ duration: 500, easing: "cubicOut" }}
colorScale={colors}
data={data}
height={500}
width={500}
y={datum => datum._percent}
labelRadius={110}
labelComponent={}
/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions