c3js / c3js/c3

Tooltip colors change, chart colors do not

Open
#1,332 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

When hiding data from the chart the tooltip assigns new colors, due to CSS. The chart keeps the same colors from previously so now the tooltip and chart are out of sync. Simple solution would be to add an empty row to the tooltip to prevent the issue from occurring.

(This would also fix another issue where you create custom legends because that is what I am also currently doing and colors in the legend are now out of sync since I don't remove rows either)

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.