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.
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 *symbolDeclared In
HIMarker.h
lineWidth
The width of the point marker’s outline.
@property (nonatomic, readwrite) NSNumber *lineWidthTry it
Declared In
HIMarker.h
radius
The radius of the point marker.
@property (nonatomic, readwrite) NSNumber *radiusDeclared In
HIMarker.h
height
Image markers only. Set the image width explicitly. When using this option, a width must also be set.
@property (nonatomic, readwrite) NSNumber *heightTry it
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 *widthTry it
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 *fillColorTry 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 *lineColorDeclared In
HIMarker.h
color
The color of the marker.
@property (nonatomic, readwrite) HIColor *colorDefaults 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 *animationDeclared 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 *enabledThresholdDeclared In
HIMarker.h