-
I would like to display the axis boundaries of the zoom frame currently visible. Can this be achieved somehow? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If I understand your question correctly, you should be able to just use the Min/Max property of the xAxis. You can also add listeners to the axis (beware that they are not JavaFX listeners, so they will not run in the javafx application thread and you need to wrap UI updates in runFx() calls). In the case of date axis you probably also want to get the LabelFormatter from the axis, as dates are just utc millisecond timestamps from chart-fx's POV. |
Beta Was this translation helpful? Give feedback.
If I understand your question correctly, you should be able to just use the Min/Max property of the xAxis. You can also add listeners to the axis (beware that they are not JavaFX listeners, so they will not run in the javafx application thread and you need to wrap UI updates in runFx() calls). In the case of date axis you probably also want to get the LabelFormatter from the axis, as dates are just utc millisecond timestamps from chart-fx's POV.