question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: Tooltip series color

See original GitHub issue

When pointHoverBackgroundColor: "#fff" is utilized the tooltip color too for that line is set to #fff. This was not so in Chart 1.x

i1

Example fiddle: https://jsfiddle.net/shyamal890/g3svv8n5/

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
etimbergcommented, Jul 3, 2017

I think using the labelColor callback is the right way to solve this per my previous comment. Closing.

0reactions
shyamal890commented, Sep 8, 2016

@etimberg I think pointHoverBackgroundColor should be ignored for tooltip as hoverBackgroundColor is only to highlight the hovered point.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Bug-11636] - XY Chart Tooltip Background Color
In Perspective Property Editor drill down to tooltip background properties of series. Change color to non default value
Read more >
355540 – Tooltips color wrong in gtk applications
KDE 5.4.2, Qt 5.5, openSUSE 42.1 By default, tooltips on icons are: white text, dark background. In Firefox and Thunderbird: black text, ...
Read more >
How do I style the background color of series tooltip with ...
You have to use tooltip.formatter to achieve different background color for each series. I am using userOptions this.series.
Read more >
161600 - Tooltip background color ignores system setting
On my computer, I have set the tooltips to be white text on red background. But in Mozilla, the background isn't red, it's...
Read more >
How to Color Tooltip Based on Bar Color with ... - YouTube
With Chart js using colors in the tooltip can be useful. ... With chart js you can make line chart, bar chart, pie...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found