CartesianChartAnnotation class
Customizes the annotation of cartesian chart.
Constructors
- CartesianChartAnnotation({Widget child, CoordinateUnit coordinateUnit, AnnotationRegion region, ChartAlignment horizontalAlignment, ChartAlignment verticalAlignment, dynamic x, dynamic y, dynamic xAxisName, dynamic yAxisName })
Properties
- child → Widget
-
Considers any widget as annotation. [...]
final
- coordinateUnit → CoordinateUnit
-
Specifies the coordinate units for placing the annotation in either logicalPixel or point. [...]
final
- horizontalAlignment → ChartAlignment
-
Aligns the annotations horizontally. Alignment can be set to near, far, or center. [...]
final
- region → AnnotationRegion
-
Annotations can be placed with respect to either plotArea or chart. [...]
final
- verticalAlignment → ChartAlignment
-
Aligns the annotations vertically. Alignment can be set to near, far, or center. [...]
final
- x → dynamic
-
Specifies the x-values as pixel or point values based on the coordinateUnit. [...]
final
- xAxisName → dynamic
-
Specifies the x-axis name to the annotation that should be bound. [...]
final
- y → num
-
Specifies the y-values as pixel or point values based on the coordinateUnit. [...]
final
- yAxisName → dynamic
-
Specifies the y-axis name to the annotation that should be bound. [...]
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited