DXChartDelegate Protocol

A protocol that a class should adopt to handle selection changes.

Declaration

@protocol DXChartDelegate <NSObject>

Implements

DXCharts.NSObject

Instance Methods

Constructors

DXChartDelegate.chart:didChangeSelection: Instance Method

The action that should be done on selection changing.

Declaration

- (void)chart:(DXChartBase *)chart didChangeSelection:(DXSelectionInfo *)selectionInfo

Parameters

Type Name Description
DXChartBase * chart

The DXChartBase object, that is the chart whose selection is changed.

DXSelectionInfo * selectionInfo

The DXSelectionInfo object that provides information changes in selection.

DXChartDelegate.chart:didShowHint: Instance Method

The action that should be done on hint showing.

Declaration

- (void)chart:(DXChartBase *)chart didShowHint:(DXHintInfo *)info

Parameters

Type Name Description
DXChartBase * chart

The DXChartBase object, that is the chart whose hint is shown.

DXHintInfo * info

The DXHintInfo object that provides information about the shown hint.

DXChartDelegate.chartDidHideHint: Instance Method

The action that should be done on hint hiding.

Declaration

- (void)chartDidHideHint:(DXChartBase *)chart

Parameters

Type Name Description
DXChartBase * chart

The DXChartBase object, that is the chart whose hint is hidden.