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.
Constructors
- CircularChartAnnotation({int? angle, String? radius, Widget? widget, String? height, String? width, ChartAlignment? horizontalAlignment, ChartAlignment? verticalAlignment})
- Creating an argument constructor of CircularChartAnnotation class.
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