uber/react-vis

Color assignment in DiscreteColorLegend does not match RadialChart

オープン

#727 opened on 2018/02/21

 (5 件のコメント) (4 件のリアクション) (0 人の担当者)JavaScript (868 件のフォーク)batch import
bughelp wanted

Repository metrics

Stars
 (8,615 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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:

コントリビューターガイド