uber/react-vis

Color assignment in DiscreteColorLegend does not match RadialChart

開放

#727 建立於 2018年2月21日

 (5 則留言) (4 個反應) (0 位負責人)JavaScript (868 個分叉)batch import
bughelp wanted

倉庫指標

星標
 (8,615 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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:

貢獻者指南