Xamarin.iOS - Crosshair.InterpolatePoints property missing?


#1

Hi,

I am using the Xamarin iOS Shinobi Chart dll 2.9.3.1 and I can’t seem to find the property InterpolatePoints on the Crosshair. It seems to be activated by default and I would like to turn it off. Any pointers ?

Thanks a lot !


#2

Hi Yannick,

Thanks for getting in touch!

The InterpolatePoints api you are referring to is located on the SChartCrosshair class.

The ShinobiChart’s Crosshair property is of type ISChartCrosshair, which is a protocol that both SChartCrosshair and SChartSeriesCrosshair implement.

To turn off InterpolatePoints you can create a new SChartCrosshair object and set the property to false like so:

SChartCrosshair ch = new SChartCrosshair(chart); ch.InterpolatePoints = false; chart.Crosshair = ch;

Let me know if you have any questions.

Kind regards,
Andrew Polkinghorn.