ChartCircularCoordinateRender class

@author JD 圆形坐标系

Inheritance

Constructors

ChartCircularCoordinateRender({EdgeInsets margin = EdgeInsets.zero, EdgeInsets padding = EdgeInsets.zero, required List<ChartBodyRender> charts, EdgeInsets? safeArea, bool outDraw = false, Duration? animationDuration, List<Annotation>? backgroundAnnotations, List<Annotation>? foregroundAnnotations, ArcPosition arcPosition = ArcPosition.none, double borderWidth = 1, StrokeCap? strokeCap, Color borderColor = Colors.white})

Properties

animationDuration Duration?
动画时间
finalinherited
arcPosition ArcPosition
final
backgroundAnnotations List<Annotation>?
背景标注
finalinherited
borderColor Color
final
borderWidth double
final
charts List<ChartBodyRender>
坐标系中间的绘图
finalinherited
controller ChartController
getter/setter pairinherited
foregroundAnnotations List<Annotation>?
前景标注
finalinherited
hashCode int
The hash code for this object.
no setterinherited
margin EdgeInsets
图形外边距,用于控制坐标轴的外边距
finalinherited
maxZoom double?
最大缩放
finalinherited
minZoom double?
最小缩放
finalinherited
outDraw bool
不在屏幕内是否绘制 默认不绘制
finalinherited
padding EdgeInsets
图形内边距,用于控制坐标轴的内边距 不支持垂直方向的padding assert(padding.bottom == 0 && padding.top == 0, "暂不支持垂直方向的内间距")
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safeArea EdgeInsets?
安全区域
finalinherited
strokeCap StrokeCap?
final
tooltipBuilder TooltipWidgetBuilder?
用widget弹框来处理点击
finalinherited

Methods

canZoom() bool
override
hasChange(ChartCoordinateRender other) bool
判断图表数量和类型是否发生改变 未改变就做tween动画 改变了就重置 防止数据错乱
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(Canvas canvas, ChartsState state) → void
override
toString() String
A string representation of this object.
inherited

Operators

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