CircularChartAnnotation class
Customizes the annotation of the circular chart.
Circular chart allows you to mark the specific area of interest in the chart area. You can add the custom widgets using this annotation feature, It has the properties for customizing the appearance.
The angle, orientation, height, and width of the inserted annotation can all be customized.
It provides options for angle, height, width, vertical and horizontal alignment to customize the appearance.
- Annotations
Constructors
- CircularChartAnnotation({int angle = 0, String radius = '0%', required Widget widget, String height = '0%', String width = '0%', ChartAlignment horizontalAlignment = ChartAlignment.center, ChartAlignment verticalAlignment = ChartAlignment.center})
-
Creating an argument constructor of CircularChartAnnotation class.
const
Properties
- angle → int
-
Angle to rotate the annotation.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- height → String
-
Height of the annotation.
final
- horizontalAlignment → ChartAlignment
-
Aligns the annotation horizontally.
final
- radius → String
-
Radius for placing the annotation. The value ranges from 0% to 100% and
also if values are
mentioned in pixel then the annotation will moved accordingly.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- verticalAlignment → ChartAlignment
-
Aligns the annotation vertically.
final
- widget → Widget
-
Considers any widget as annotation.
final
- width → String
-
Width of the annotation.
final
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.
override