Way to change text on linear Axis?

Oystein Bjorke il y a 10 ans 0
This discussion was imported from CodePlex

evolvedmicrobe wrote at 2013-07-09 21:17:

Hi,

I have a plot where the layout goes 1,2,3,4...etc, but I would love to change the text on the axis to arbitrary values at particular tickmarks, e.g. "A"/"D" at positions 2 and 4. I looked at the Category axis but it seemed difficult to put marks that were not aligned with categories.

Is there a way to add custom annotations/text at the tick marks for the LinearAxis? Or other recommendations that might be useful in this situation?

Thanks for any help,
Nigel

everytimer wrote at 2013-07-12 21:21:

I don't see an easy solution for that. If you really need that behavior consider changing the source code and exposing the ticks list. I think you could access it that way. Good luck

evolvedmicrobe wrote at 2013-07-12 21:22:

Nuts, thought that was the case but wanted to bounce it off someone more knowledgeable first, thanks for the response! Will start digging in to the ticks list.