Multiple Charts Crosshair


#1

I have a screen with multiple charts.  when the user enables the crosshairs on one chart, I want a crosshair to track at the same position on the other charts.  What is the easiest way to accomplish this?

It looks like my delegate should use the “- (void)sChart:(ShinobiChart *)chart crosshairMovedToXValue:(id)x andYValue:(id)y” method to get the changes from the crosshairs on the one chart and move the crosshairs on the other charts.  However, I am confused as to how I should set that new crosshair position on the other charts.


#2

Hi fungifred,

I have a sample project which demonstrates how to do just this! We’re planning on making this available soon, probably as a blog post.

In the meantime though, I’d be happy to send this to you - just drop me an email: info@shinobicontrols.com  :grin:

Cheers,

Simon