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

Awkward API: yAxis.setTickLabelFormatter(new NumberAxis.DefaultFormatter(yAxis, null, null));

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 7u6
    • javafx

      Awkward API:

          yAxis.setTickLabelFormatter(new NumberAxis.DefaultFormatter(yAxis, null, null));

      where we reference yAxis twice.


      We could have either

          yAxis.setTickLabelFormatter(new NumberAxis.DefaultFormatter(null, null));

      or if the formatter must have access to the axis then either:

          we add new API: NumberAxis.setAxis(yAxis) (and internally yAxis.setTickLabelFormatter calls that)

      or just:

          new NumberAxis.DefaultFormatter(yAxis, null, null); (and internally it could do: yAxis.setTickLabelFormatter()); in its constructor)

            Unassigned Unassigned
            gziemski Gerard Ziemski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported: