I have a chart setup and everything is fine. Now i'm trying to show up a custom view on the Y axis and a view annotation doesn't work for me because it's added in the plot and i need to add the view on the Y axis.
So, the view is done and all good, next step is i'm trying to get the pixel coordinates for specific values in the charts. I'm using "getPixelValueForUserValue" method from the Y axis. The problem is this method complains when i pass to it the data point or any of its values - whether "MultiValueDataPoint" or "DataPoint". I couldn't find any examples or tutorials which includes usage of this method except for the API docs.
So, my questions is - is there any example or any directions anyone might have to pinpoint me how to use this and more specifically how to get the pixel coordinates of specific values?
To elaborate a little more - i'm trying to add a text view with custom background on the Y axis that will represent a certain value and will be stationary - meaning it will not change, but needs to move when the chart is moving, so that it stays on the same Y value.
P.S. : I have done this on iOS with the help of the equivalent method and all works just fine: