HIMarker Class Reference

Inherits from HIChartsJSONSerializable : NSObject
Declared in HIMarker.h

Overview

Options for the point markers of line and scatter-like series. Properties like fillColor, lineColor and lineWidth define the visual appearance of the markers. The symbol option defines the shape. Other series types, like column series, don’t have markers, but have visual options on the series level instead. In styled mode, the markers can be styled with the .highcharts-point, .highcharts-point-hover and .highcharts-point-select class names.

  states

@property (nonatomic, readwrite) HIStates *states

  symbol

A predefined shape or symbol for the marker. When undefined, the symbol is pulled from options.symbols. Other possible values are 'circle', 'square','diamond', 'triangle' and 'triangle-down'. Additionally, the URL to a graphic can be given on this form: 'url(graphic.png)'. Note that for the image to be applied to exported charts, its URL needs to be accessible by the export server. Custom callbacks for symbol path generation can also be added to Highcharts.SVGRenderer.prototype.symbols. The callback is then used by its method name, as shown in the demo.

@property (nonatomic, readwrite) NSString *symbol

Defaults to circle.

Try it

Declared In

HIMarker.h

  lineWidth

The width of the point marker’s outline.

@property (nonatomic, readwrite) NSNumber *lineWidth

Declared In

HIMarker.h

  radius

The radius of the point marker.

@property (nonatomic, readwrite) NSNumber *radius

Defaults to 10.

Try it

Declared In

HIMarker.h

  fillOpacity

@property (nonatomic, readwrite) NSNumber *fillOpacity

  height

Image markers only. Set the image width explicitly. When using this option, a width must also be set.

@property (nonatomic, readwrite) NSNumber *height

Declared In

HIMarker.h

  width

Image markers only. Set the image width explicitly. When using this option, a height must also be set.

@property (nonatomic, readwrite) NSNumber *width

Declared In

HIMarker.h

  fillColor

The fill color of the point marker. When undefined, the series' or point’s color is used.

@property (nonatomic, readwrite) HIColor *fillColor

Try it

Declared In

HIMarker.h

  lineColor

The color of the point marker’s outline. When undefined, the series' or point’s color is used.

@property (nonatomic, readwrite) HIColor *lineColor

Defaults to #ffffff.

Try it

Declared In

HIMarker.h

  enabled

@property (nonatomic, readwrite) NSNumber *enabled

  color

The color of the marker.

@property (nonatomic, readwrite) HIColor *color

Defaults to #999999.

Declared In

HIMarker.h

  animation

Animation for the marker as it moves between values. Set to false to disable animation. Defaults to { duration: 50 }.

@property (nonatomic, readwrite) HIAnimationOptionsObject *animation

Declared In

HIMarker.h

  enabledThreshold

The threshold for how dense the point markers should be before they are hidden, given that enabled is not defined. The number indicates the horizontal distance between the two closest points in the series, as multiples of the marker.radius. In other words, the default value of 2 means points are hidden if overlapping horizontally.

@property (nonatomic, readwrite) NSNumber *enabledThreshold

Defaults to 2.

Try it

Declared In

HIMarker.h

– getParams

- (NSDictionary *)getParams