-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add way to get positioning of BarNodes from BarChartNode #37
Comments
I added getBarLabelLocation to BarChartNode for this. @Denz1994 would you mind reviewing this? |
Just out of curiosity, why wouldn't specifying the this.barChart =new BarChartNode( [ {
entries: [ barEntry ],
labelString: barLabelString,
labelNode: TrashCanButtonNode // or TrashCanButtonVBox for added VStrut padding
}, rangeProperty, options); I'm looking at if ( bar.labelNode ) {
barLabelVBox.addChild( bar.labelNode );
} Or do we need more flexibility in where the node is placed? |
Oh my gosh I totally missed this, sorry! Ill give that a try instead. |
That works beautifully, thanks @Denz1994. I am just going to remove my changes for this issue. |
Removed. |
In Energy Skate Park, we need to position a button under underneath one of a BarNode label like https://user-images.githubusercontent.com/8419308/47312442-98af5300-d5f9-11e8-8c1b-dc79fa96c786.png
It would be helpful to be able to get the positions of bars and labels.
The text was updated successfully, but these errors were encountered: