com.nchart3d.NChart.NChartDelegate Interface Reference

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

Public Member Functions

void timeIndexChanged (NChart chart, double timeIndex)
 Report that the time index on time axis was changed. More...
 
void pointSelected (NChart chart, NChartPoint point)
 Report that user selected a chart point. More...
 
void didEndAnimating (NChart chart, Object object, NChartAnimationType animation)
 Report that animation of chart object is done. More...
 
void didChangeZoomPhase (NChart chart, NChartEventPhase phase)
 Report that zoom of the chart has changed its phase. More...
 
void didMove (NChart chart)
 Report that charts content is moved by pan, zoom or bouncing. More...
 
void rangeChanged (NChart chart)
 Report that range selector moved. More...
 

Detailed Description

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

Member Function Documentation

void com.nchart3d.NChart.NChartDelegate.didChangeZoomPhase ( NChart  chart,
NChartEventPhase  phase 
)

Report that zoom of the chart has changed its phase.

Parameters
chart- pointer to the chart instance.
phase- phase of the zoom.
See also
NChartEventPhase
void com.nchart3d.NChart.NChartDelegate.didEndAnimating ( NChart  chart,
Object  object,
NChartAnimationType  animation 
)

Report that animation of chart object is done.

Parameters
chart- pointer to the chart instance.
object- pointer to the chart object instance.
animation- type of animation that is done.
See also
com.nchart3d.NChart.NChartAnimationType
void com.nchart3d.NChart.NChartDelegate.didMove ( NChart  chart)

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

Parameters
chart- pointer to the chart instance.
void com.nchart3d.NChart.NChartDelegate.pointSelected ( NChart  chart,
NChartPoint  point 
)

Report that user selected a chart point.

Parameters
chart- pointer to the chart instance.
point- point that was selected. May be null, which will tell that the user tapped an empty space of the chart.
See also
com.nchart3d.NChart.NChartPoint
void com.nchart3d.NChart.NChartDelegate.rangeChanged ( NChart  chart)

Report that range selector moved.

Parameters
chart- pointer to the chart instance.
void com.nchart3d.NChart.NChartDelegate.timeIndexChanged ( NChart  chart,
double  timeIndex 
)

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 com.nchart3d.NChart.NChartTimeAxis for details).

Parameters
chart- pointer to the chart instance.
timeIndex- new time index.