GraphSeries class

Constructors

GraphSeries(Graph graph, GraphLayout layout, {required Fun1<GraphNode, AreaStyle> styleFun})

Properties

animation ↔ AnimatorProps?
坐标系
getter/setter pairinherited
bottomMargin ↔ SNumber
getter/setter pairinherited
calendarIndex int
getter/setter pairinherited
clip bool
getter/setter pairinherited
coordSystem ↔ CoordSystem?
坐标系系统
getter/setter pairinherited
graph Graph
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height ↔ SNumber?
getter/setter pairinherited
layout GraphLayout
getter/setter pair
leftMargin ↔ SNumber
定义布局的上下左右间距或者宽高, 宽高的优先级大于上下间距的优先级(如果定义了)
getter/setter pairinherited
parallelIndex int
getter/setter pairinherited
polarAxisIndex int
getter/setter pairinherited
radarIndex int
getter/setter pairinherited
rightMargin ↔ SNumber
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
styleFun ↔ Fun1<GraphNode, AreaStyle>
getter/setter pair
tooltip ↔ ToolTip?
getter/setter pairinherited
topMargin ↔ SNumber
getter/setter pairinherited
touch bool
getter/setter pairinherited
width ↔ SNumber?
getter/setter pairinherited
xAxisIndex int
坐标轴取值(和coordSystem配合实现定位) (默认的所有坐标轴开始都是为0)
getter/setter pairinherited
yAxisIndex int
getter/setter pairinherited
z int
getter/setter pairinherited

Methods

addListener(ValueCallback<int> callback) → void
下面是对ValueNotifier的简单封装
inherited
change(int notifyData) → void
inherited
computePosition(double left, double top, double right, double bottom) Rect
计算内容区域
inherited
computePositionBySelf(double left, double top, double right, double bottom) Rect
从当前
inherited
dispose() → void
inherited
hasListeners() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(ValueCallback<int> callback) → void
inherited
toString() String
A string representation of this object.
inherited
update([bool relayout = false]) → void
当数据发生改变后,需要调用该方法,进行重绘或者重新布局
inherited

Operators

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