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

Display value of bar when hovering over it #34

Open
teeks99 opened this issue Feb 13, 2019 · 1 comment
Open

Display value of bar when hovering over it #34

teeks99 opened this issue Feb 13, 2019 · 1 comment

Comments

@teeks99
Copy link
Contributor

teeks99 commented Feb 13, 2019

No description provided.

@bganglia
Copy link
Contributor

I think I made this work.
I added mouseover and mouseout handlers to the bars in graph.js so that if the bar is longer than the text, the amount is drawn in white on the left part of the bar, and if the bar is shorter, the text is drawn in brown to the right. The amount is formatted like "$1,000.00."
Is this what you were looking for, and if so, may I make a pull request? (I am new to Github.)

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