Scrolled chart still too small

Werner Lehmann lehmann at
Thu Aug 9 10:38:43 PDT 2012


I am using charts, primarily a BarChart, to show aggregate or detailed 
report data. Depending on user configuration there can be many x-axis 
values (category axis) - more than are fitting into the window.

Since charts do not support content scrolling (see, I tried to wrap it into a 
ScrollPane. Unfortunately, the chart is still far too narrow with many 
x-axis values. How can I convince it to use whatever (horizontal) space 
it needs to fit all data? So far, I did not specify any min/pref/max sizes.

Currently, the chart is maybe half the size of the scrollpane, forcing 
it to omit some values - although there would be more room in the 


More information about the openjfx-dev mailing list