Scrolled chart still too small
Werner Lehmann
lehmann at media-interactive.de
Thu Aug 9 10:38:43 PDT 2012
Hi,
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
http://javafx-jira.kenai.com/browse/RT-20732), 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
scrollpane.
Rgds
Werner
More information about the openjfx-dev
mailing list