LineSeries always visualize Y value

Jul 22, 2014 at 10:35 AM
Edited Jul 22, 2014 at 10:38 AM
I can't find a way to have the Y axis value visible, it shows randon values, sometimes min and max, sometimes in between.
I've tried to set minimin and maximun but no luck.
Any hint?
Thank you.
Jul 22, 2014 at 2:37 PM
Edited Jul 22, 2014 at 2:41 PM
I've actually proposed that this be implemented for axes in general here. If you require it immediately though it shouldn't be too hard to extend your own axis and override paint to always print out the value on the absolute min and max (using the InverseTransform to get the value, I think). This is about as far as I've thought out how to implement it though, if you create a solution please share =).

Side note: a simple fix would be to alter MajorStep and MinorStep, and ShowMinorStep, but that'll only make them more frequent, not always show on the min and max.
Jul 23, 2014 at 12:20 AM
Yep good advice, I will try to override it.
Thanks for your help and I agree, your proposal should be implemented.
Jul 23, 2014 at 8:59 AM
Edited Jul 23, 2014 at 9:24 AM
I actually came up with a different solutions but I am not sure if it works with any value:

First I calculate the Maximun and Minimun and set them in the axe, then I set the MajorStep = MAximun - Minimun.

It works only for integers but for me it's enough till your advice will be implemented.

EDIT: forget it, it's bullshit, it works randomly... sic...