ArcAxisImpl class

圆形轴

Inheritance

Constructors

ArcAxisImpl(AngleAxis axis, [int index = 0])

Properties

axis AngleAxis
finalinherited
expanded bool
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
index int
finalinherited
props ArcProps
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale BaseScale<dynamic, num>
getter/setter pairinherited
scaleValue double
no setterinherited
scrollValue double
no setterinherited
show bool
getter/setter pairinherited
titleNode AxisTitleNode
latefinalinherited
viewRange List<num>
返回当前轴显示的可见范围 返回值为 scale 中的range
no setterinherited

Methods

buildScale(ArcProps props, List<DynamicData> dataSet) BaseScale<dynamic, num>
override
dataToAngle(DynamicData data) num
draw(Canvas canvas, Paint paint) → void
inherited
drawAxisLine(Canvas canvas, Paint paint) → void
override
drawAxisName(Canvas canvas, Paint paint) → void
inherited
drawAxisTick(Canvas canvas, Paint paint) → void
override
layout(ArcProps layoutProps, List<DynamicData> dataSet) → void
inherited
layoutAxisName() TextDrawConfig
override
measure(double parentWidth, double parentHeight) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
obtainTicks() List<String>
override
scaleDiff(num s) → void
inherited
scrollDiff(num s) → void
inherited
setScale(num scale) → void
inherited
setScroll(num scroll) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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