Can we specify which values are used for the Axis Labels? #126
Unanswered
kimonkremizas
asked this question in
Q&A
Replies: 1 comment 4 replies
-
|
The short answer is no. But, if you always know exactly what values your axis will have, you can write an axis model that always provides the tick values you want. But I suspect that's not the situation you have. This would also not adapt the number of tick values depending on the size of the axis. What if you could put an Annotation on the axis at the position of where the year would be? See #28 . In this case you would use the text of the year as your annotation. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an
XYGraphwhere Y is of typeDoubleand X is of typeLong, representing time in EpochMilliseconds. I coded it so that the X Axis Label displays either the year if the value is a timestamp on January 1st or the month otherwise. The issue is that if I can't specify which values should be labeled, the likelihood of January 1st being one of them is minimal when the range spans, for example, 7 years.So my question can be summed up as: Can we specify which values are used for the labels?
Beta Was this translation helpful? Give feedback.
All reactions