Skip to content
New issue

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

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

Already on GitHub? # to your account

HBox does not show all ChartViewer instances #6

Closed
briemla opened this issue Dec 19, 2017 · 1 comment
Closed

HBox does not show all ChartViewer instances #6

briemla opened this issue Dec 19, 2017 · 1 comment

Comments

@briemla
Copy link

briemla commented Dec 19, 2017

Wrapping several ChartViewer instances directly in a HBox shows only some of them. The ChartViewer instances are too big. Taking a look with ScenicView at the UI reveals, that each viewer instance uses n times the size which should be needed. When the ChartViewer gets wrapped into a StackPane, it works like expected.

The code at gist.github.com shows the effect and also a possible workaround. Use numberOfCharts and showBug to change the number of visible charts and to activate the workaround. The used chart and the data are taken from the BarChartFXDemo1.

@briemla
Copy link
Author

briemla commented Dec 19, 2017

This looks like a duplicate of #3

@briemla briemla closed this as completed Dec 19, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant