Enabling Crosshairs


#1

Hi.

I’m really enjoying the simplicity of setting up ShinobiCharts.

How do I set up the crosshairs? What do I have to enable to use them? 

Also, I have an xscaling set up as shown below, is there a delegate I can set up to read that information?

datapoint.xValue = [NSNumber numberWithDouble:(xValue/5.0f)];

Thanks!


#2

You should set SChartSeries.crosshairEnabled to YES for each series you are using. Additionally set ShinobiChart.tooltip to a default or custom tooltip. 

FYI: You set the default tooltip with: [_chart.crosshair setDefaultTooltip];