AnnotationLabelPosition enum

Configures where to place the label relative to the annotation.

Inheritance
Available extensions

Values

auto → const AnnotationLabelPosition

Automatically try to place the label inside the bar first and place it on the outside of the space available outside the bar is greater than space available inside the bar.

outside → const AnnotationLabelPosition

Always place label on the outside.

inside → const AnnotationLabelPosition

Always place label on the inside.

margin → const AnnotationLabelPosition

Place the label outside of the draw area, in the chart margin.

Labels will be rendered on the opposite side of the chart from the primary axis. For measure annotations, this means the "end" side, opposite from the "start" side where the primary measure axis is located.

This should not be used for measure annotations if the chart has a secondary measure axis. The annotation behaviors do not perform collision detection with tick labels.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<AnnotationLabelPosition>
A constant List of the values in this enum, in order of their declaration.