HIPanning Class Reference

Inherits from HIChartsJSONSerializable : NSObject
Declared in HIPanning.h

Overview

Allow panning in a chart. Best used with panKey to combine zooming and panning. On touch devices, when the tooltip.followTouchMove option is true (default), panning requires two fingers. To allow panning with one finger, set followTouchMove to false.

Try it

  type

Decides in what dimensions the user can pan the chart. Can be one of x, y, or xy. When this option is set to y or xy, yAxis.startOnTick and yAxis.endOnTick are overwritten to false.

@property (nonatomic, readwrite) NSString *type

Defaults to x.

Try it

Declared In

HIPanning.h

  enabled

Enable or disable chart panning.

@property (nonatomic, readwrite) NSNumber *enabled

Declared In

HIPanning.h

– getParams

- (NSDictionary *)getParams