SChartAnnotation.xValue absolute position


Hi guys,

I’m trying to implement the range selector from the SPlay demo. Everythings done thus far, but I’m struggling with the date label annotations next to the grippers. 

How do I position those properly? With a DateTimeAxis the range’s minium and maximum reflect the time in milliseconds, which is why I can’t just subtract the UILabel’s width from the range’s position. 

Any help would be highly appreciated!


Nevermind, using a custom SChartAnnotation and overwriting “updateViewWithCanvas” does the job beautifully.