JavaFX – Rotate Chart Axis Label

It will be difficult to fit in long labels when they are horizontal. Labels will overlap. So it may be nice to rotate the label by small angle so as to fit long text. We may do this by customizing CategoryAxis. As of now it depends on some internal implementation, but it will be nice to have this feature as part of public API

For Applet mode, click on above image. For standalone mode

Try it out and let me know feedback


About Rakesh Menon

5 Responses to JavaFX – Rotate Chart Axis Label

  1. Pingback: Tweets that mention JavaFX – Rotate Chart Axis Label | Java, JavaFX and beyond… --

  2. Pingback: JavaFX links of the week, June 14 // JavaFX News, Demos and Insight // FX Experience

  3. Pingback: Java desktop links of the week, June 14 | Jonathan Giles

  4. Cool! I was looking for something like this a few weeks ago. Thanks for the example, I now have rotated labels as well 🙂


  5. Dieter says:

    Hi Rakesh,

    any reasons why I don´t see actual articles?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: