HighchartsAnnotationsShapeOptions class
Options for annotation's shapes. Each shape inherits options from the shapeOptions object. An option from the shapeOptions can be overwritten by config for a specific shape.
API Docs: https://api.highcharts.com/highcharts/navigation.annotationsOptions.shapeOptions
- Inheritance
-
- Object
- HighchartsOptionsBase
- HighchartsAnnotationsShapeOptions
Constructors
-
HighchartsAnnotationsShapeOptions.new({String? dashStyle, Map<
String, dynamic> ? fill, double? height, double? r, double? ry, double? snap, String? src, String? stroke, double? strokeWidth, String? type, double? width, double? xAxis, double? yAxis}) - Options for annotation's shapes. Each shape inherits options from the shapeOptions object. An option from the shapeOptions can be overwritten by config for a specific shape.
Properties
- dashStyle ↔ String?
-
Name of the dash style to use for the shape's stroke.
getter/setter pair
-
fill
↔ Map<
String, dynamic> ? -
The color of the shape's fill.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ double?
-
The height of the shape.
getter/setter pair
- r ↔ double?
-
The radius of the shape.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- ry ↔ double?
-
The radius of the shape in y direction.
Used for the ellipse.
getter/setter pair
- snap ↔ double?
-
Defines additional snapping area around an annotation
making this annotation to focus. Defined in pixels.
getter/setter pair
- src ↔ String?
-
The URL for an image to use as the annotation shape.
Note, type has to be set to
'image'
.getter/setter pair - stroke ↔ String?
-
The color of the shape's stroke.
getter/setter pair
- strokeWidth ↔ double?
-
The pixel stroke width of the shape.
getter/setter pair
- type ↔ String?
-
The type of the shape.
Available options are circle, rect and ellipse.
getter/setter pair
- width ↔ double?
-
The width of the shape.
getter/setter pair
- xAxis ↔ double?
-
The xAxis index to which the points should be attached.
Used for the ellipse.
getter/setter pair
- yAxis ↔ double?
-
The yAxis index to which the points should be attached.
Used for the ellipse.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJSON(
) → String -
Serializes the settings to a JSON string.
inherited
-
toOptionsJSON(
StringBuffer buffer) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited