How do I enable the popup when long pressing on a series?


I am trying to switch the tooltip on when I tap and hold a series. Is there a way to do that?




You have to enable crosshair for your series :

SChartLineSeries * series = [[[SChartLineSeries alloc] init] autorelease];
    series.crosshairEnabled = YES;

then choose your tooltip to be shown on the chart (use the default one provided by the framework) :

[chart.crosshair setDefaultTooltip];

You can also, define your own tooltip class :


That’s exactly what I was looking for. Thnx!