uber/react-vis

Color assignment in DiscreteColorLegend does not match RadialChart

Open

#727 opened on Feb 21, 2018

View on GitHub
 (5 comments) (4 reactions) (0 assignees)JavaScript (868 forks)batch import
bughelp wanted

Repository metrics

Stars
 (8,615 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I have a simple radial chart and a corresponding legend. Even though both the radial chart and the legend receive the series data in the same order, the color swatches do not match.

Here's a Codepen.

And a screenshot demonstrating the color difference:

Contributor guide