c3js / c3js/c3

Tooltip text color should be defined

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

Description

The text color of tooltip should be defined. ie. When defining background color, define text color too. It's an ancient rule of CSS ;) But still true.

There is a white background rule, however text color is inherited from page CSS. When page has white text, this makes tooltip unreadable.

See attached image:

![image](https://user-images.githubusercontent.com/520283/31882630-af2b93ae-b7e7-11e7-8b08-7d975803e5b5.png)

[JsFiddle](https://jsfiddle.net/rt8dLpny/1/)

I know that legend is not visible too, but c3 does not define text color at all for this - using browsers default - so no issue here.

* **C3 version**: 0.4.18
* **D3 version**: 3.5.17
* **Browser**: Chrome 62.0.3202.62
* **OS**: Linux Ubuntu 17.04

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.