Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x-axis tooltip hides the actual x value on hover #142

Closed
jimfilippou opened this issue Oct 3, 2018 · 2 comments
Closed

x-axis tooltip hides the actual x value on hover #142

jimfilippou opened this issue Oct 3, 2018 · 2 comments

Comments

@jimfilippou
Copy link
Contributor

jimfilippou commented Oct 3, 2018

I'm using a custom formater and specificly this

tooltip: {
      enabled: true,
      x: {
        formatter: (val) => {
          return 'Total transactions'
        }
      }
    }

It works correctly but when i hover over a day, it hides that day and displays the value that it got. This is normal behavior but how can i fix it?

image

The problem in the above image is that Wednesday is hidden behind Total transactions in the X axis

@jimfilippou jimfilippou changed the title x-axis tooltip hides the actual x value x-axis tooltip hides the actual x value on hover Oct 3, 2018
@junedchhipa
Copy link
Contributor

A new property xaxis.tooltip.formatter will be provided - which will override the default tooltip.x formatter function

@mitul-srashtasoft
Copy link

A new property xaxis.tooltip.formatter will be provided - which will override the default tooltip.x formatter function

It will override but not change dynamically while scoll, it's stick on the same situations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants