NChartDelegate Protocol Reference

Conforms to NSObject
Declared in NChart.h

Overview

The NChartDelegate protocol provides methods to reflect changes which have appeared in the chart.

– chartDelegateTimeIndexOfChart:changedTo:

Report that the time index on time axis was changed. A change may appear if the user moves the handler on the time axis, plays back the time axis or if someone changed the current time index of time axis (see NChartTimeAxis for details).

- (void)chartDelegateTimeIndexOfChart:(NChart *)chart changedTo:(double)timeIndex

Parameters

chart
  • pointer to the chart instance.
timeIndex
  • new time index.

Declared In

NChart.h

– chartDelegatePointOfChart:selected:

Report that user selected a chart point.

- (void)chartDelegatePointOfChart:(NChart *)chart selected:(NChartPoint *)point

Parameters

chart
  • pointer to the chart instance.
point
  • point that was selected. May be nil, which will tell that the user tapped an empty space of the chart.

See Also

Declared In

NChart.h

– chartDelegateChart:object:didEndAnimating:

Report that animation of chart object is done.

- (void)chartDelegateChart:(NChart *)chart object:(id)object didEndAnimating:(NChartAnimationType)animation

Parameters

chart
  • pointer to the chart instance.
object
  • pointer to the chart object instance.
animation
  • type of animation that is done.

Declared In

NChart.h

– chartDelegateChart:didChangeZoomEventPhase:

Report that zoom of the chart has changed its phase.

- (void)chartDelegateChart:(NChart *)chart didChangeZoomEventPhase:(NChartEventPhase)phase

Parameters

chart
  • pointer to the chart instance.
phase
  • phase of the zoom.

See Also

Declared In

NChart.h

– chartDelegateChartDidMove:

Report that charts content is moved by pan, zoom or bouncing.

- (void)chartDelegateChartDidMove:(NChart *)chart

Parameters

chart
  • pointer to the chart instance.

Declared In

NChart.h