Annotation class abstract
@author jd
Constructors
-
Annotation({bool fixed = false, int yAxisPosition = 0, dynamic userInfo, ValueChanged<
Annotation> ? onTap, double? minZoomVisible, double? maxZoomVisible})
Properties
- fixed → bool
-
是否滚动
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInit ↔ bool
-
getter/setter pairinherited
- maxZoomVisible → double?
-
大于该缩放级别则隐藏
final
- minZoomVisible → double?
-
小于该缩放级别则隐藏
final
-
onTap
→ ValueChanged<
Annotation> ? -
标注可以点击
final
- rect ↔ Rect?
-
所在的区域
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userInfo → dynamic
-
携带额外信息
final
- yAxisPosition → int
-
跟哪个y轴关联
final
Methods
-
draw(
Canvas canvas, ChartsState state) → void -
inherited
-
init(
ChartsState state) → void -
初始化 耗时的方法都可以放到这里
inherited
-
isNeedDraw(
ChartsState state) → bool - 是否需要绘制
-
isRange(
Offset point) → bool - 判断point是否在此Annotation范围内
-
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