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

Popovers do not appear properly on charts #25

Open
Whisper40 opened this issue Feb 24, 2020 · 6 comments
Open

Popovers do not appear properly on charts #25

Whisper40 opened this issue Feb 24, 2020 · 6 comments

Comments

@Whisper40
Copy link

  • [X ] I am running the latest version
  • [X ] I checked the documentation and found no answer
  • [X ] I checked to make sure that this issue has not already been filed
  • [X ] I'm reporting the issue to the correct repository (for multi-repository projects)

Expected Behavior

The Pop Up should be displayed properly

Current Behavior

image

Failure Information (for bugs)

The bug happens just after clicking on Months or Weeks

Steps to Reproduce

  1. Download the latest version
  2. Go to "DashBoard"
  3. Click on Weeks or Months

Context

  • Device: PC
  • Operating System: WIN 10
  • Browser and Version: Chrome Version 80.0.3987.116

Failure Logs

None

@rarestoma
Copy link
Contributor

Hi @Whisper40,

Thank you for working with our product and for pointing us this issue.

We will check this problem and we will come with a solution as soon as possible.

Thank you,
Rares

@Whisper40
Copy link
Author

Another thing regarding this, why did we have to click on "week" or "month" to have the unit displayed.. really strange no ?

@rarestoma
Copy link
Contributor

Hi @Whisper40,

We have to look also why is this happening. Thank you again for pointing us these issues, this is really helpful.

Best regards,
Rares

@Whisper40
Copy link
Author

No solution after 2 months ?....

@Whisper40
Copy link
Author

Whisper40 commented Apr 17, 2020

In order to help you to solve really fast the problem please, i have tested things, and when you remove :
data-prefix="$" data-suffix="k"
from the line :
<li class="nav-item mr-2 mr-md-0" data-toggle="chart" data-target="#chart-sales-dark" data-update='{"data":{"datasets":[{"data":[0, 20, 5, 25, 10, 30, 15, 40]}]}}' data-prefix="$" data-suffix="k">

The problem is solved in this case.

I think it's related to this : https://stackoverflow.com/questions/34720530/chart-js-v2-add-prefix-or-suffix-to-tooltip-label

@rarestoma
Copy link
Contributor

Hi @Whisper40,

Thank you for helping us to fix this issue. I added it to fix in our next update.

All the best,
Rares

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

2 participants