Skip to main content

DXChartDelegate Protocol

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

Declaration

@protocol DXChartDelegate <NSObject>

Implements

DXCharts.NSObject

Instance Methods

chart:didChangeSelection: Instance Method

The action that should be done on selection changing.

Declaration

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

Parameters

Name Type Description
chart DXChartBase *

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

selectionInfo DXSelectionInfo *

The DXSelectionInfo object that provides information changes in selection.

chart:didShowHint: Instance Method

The action that should be done on hint showing.

Declaration

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

Parameters

Name Type Description
chart DXChartBase *

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

info DXHintInfo *

The DXHintInfo object that provides information about the shown hint.

chartDidHideHint: Instance Method

The action that should be done on hint hiding.

Declaration

- (void)chartDidHideHint:(DXChartBase *)chart

Parameters

Name Type Description
chart DXChartBase *

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