Skip to content

Zoomer frame information #389

Answered by wirew0rm
thhart asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by thhart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #386 on April 14, 2021 07:47.