Scrolled chart still too small
Werner Lehmann
lehmann at media-interactive.de
Tue Aug 14 00:41:47 PDT 2012
Hi Paru,
thanks for the clarification - I can stop experimenting then ;-) And
yes, scrolling the chart content is of course the preferred way. As you
know I created a ticket for that already:
http://javafx-jira.kenai.com/browse/RT-20732
Rgds
Werner
On 14.08.2012 00:10, Paru Somashekar wrote:
> Hi Werner,
>
> I see what you are looking for. You want to know a size to fit all axis
> labels without skipping so you can use that "computed Size" to set on
> the chart. Unfortunately at the moment there is no API to determine that
> size. It is done the other way now - charts are sized outside in, its
> width and height are by default set to a constant size of 500x400.
> We could add an API to do what you are asking (which is useful to have
> in any case I think and will file a JIRA tweak for it), however one
> issue I see with that is - when the data is changing dynamically, this
> "computed size" will also change and so setting preferred size once will
> not work. In that case adding scrolling support for XYChart is probably
> the answer.
>
> thanks,
> Paru.
More information about the openjfx-dev
mailing list