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

Include accessor for percentage on StackedArea tooltips #162

Open
cnavarreteliz opened this issue Aug 5, 2020 · 0 comments
Open

Include accessor for percentage on StackedArea tooltips #162

cnavarreteliz opened this issue Aug 5, 2020 · 0 comments
Assignees

Comments

@cnavarreteliz
Copy link
Contributor

On OEC, you couldn't see the Percentage on a tooltip when you're using StackedAreas

image

image

Expected Behavior

On Treemaps, you can access to the percentage using tbody(d, i, x) => x[0].__data__.share
https://jsfiddle.net/dqt7prw1/1/

Current Behavior

On StackedArea, using tbody(d, i, x) => x[0].__data__.share you receive undefined.
https://jsfiddle.net/k2w1prj7/1/

Your Environment

  • Browser Name: Google Chrome
  • Operating System and Version: Windows 10
@davelandry davelandry self-assigned this Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants