Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8091787

Provide a way to manipulate chart labels

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 8
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:

      Description

      Currently there is no way to control any aspect of tick labels except fill, font, gap, rotation and visibility.
      It would be nice to get full access to label and be able to style it.
      Here's an example where this would be useful:

      I have a bar chart with a category axis which is dynamically populated with data.

      When data text is too long, the label rotates vertically (as it should), but if the text is really long the whole chart moves up to accommodate the label size:
      http://tinypic.com/r/29ygx1l/8

      There is no way to access the specific label node and consequently no way to limit it's size, reduce font size, clip the text, etc.

        Attachments

          Activity

            People

            • Assignee:
              aghaisas Ajit Ghaisas
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported: