Сrosshair


#1

Hello!

When I use SChartCrosshairModeSingleSeries – I cat detect the moving by this delegate method

  • -(void)sChart:(ShinobiChart *)chart crosshairMovedToXValue:(id)x andYValue:(id)y

And what about delegate method of SChartCrosshairModeFloating?

Thank you!


#2

Hi!

If i understand you corrently then your -sChart:crosshairMovedToXValue:andYValue: SChartDelegate method isn’t being called when you set chart.crosshair.mode = SChartCrosshairModeSingleSeries;. When i tried doing this on my local machine the delegate method does get called. Are you making sure to set series.crosshairEnabled = YES on the series on which you would like the to appear?

If that isn’t the cause of the problem then feel free to post more of the code you are using to create and setup your crosshair so I can get a better idea of what might be causing this issue.