c3js / c3js/c3

donut chart: data.color function broken

Open
#2,529 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.3k
Forks
1.4k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

https://c3js.org/samples/data_color.html

the above example demonstrates real-time modification of chart color via `data.color = function () {}`.
if you, in that example, change the chart type to `donut`, you'll see the color modification is broken -- it does not respect the generated color from the callback.

it does not respect the generated color but uses the legend color instead.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.