Show multiple crosshair on Shinobicharts with same X position ( iOS )


#1

I have a chart with 3 SChartLineSeries. I would like to show 3 simultaneous target points (from the crosshair that corresponds to his serie) at the same time.

Like I have on this picture with dataPoints, but I would like have it on the same X position.

How can I achieve that? I tried to recognize the ‘long press’ event in the delegate method, but I didn’t figure out how to do it.

With crosshairs, I only have this:


#2

Ive tried this:

  • (void)sChart:(ShinobiChart *)chart toggledSelectionForPoint:(SChartDataPoint *)dataPoint inSeries:(SChartSeries *)series atPixelCoordinate:(CGPoint)pixelPoint

{

    for (SChartLineSeries *serie in chart.series) {

        for (SChartDataPoint *dp in serie.dataSeries.dataPoints){

            if (dp.xValue == dataPoint.xValue){

                dp.selected = YES;

                serie.crosshairEnabled = YES;

                serie.style.selectedPointStyle.color = [UIColorblackColor];

                serie.style.selectedPointStyle.radius = [NSNumbernumberWithInt:8];

                serie.style.selectedPointStyle.showPoints = YES;

            }

        }

    }

}