GridAxisImpl class

Inheritance

Constructors

GridAxisImpl(GridAxis axis, List<GridChild> children, Direction direction)

Properties

axis GridAxis
finalinherited
axisSize AxisSize
no setter
children List<GridChild>
final
direction Direction
final
expanded bool
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
index int
finalinherited
props LineProps
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
vertical bool
no setter
viewRange List<num>
返回当前轴显示的可见范围 返回值为 scale 中的range
no setterinherited

Methods

addChild(GridChild child) → void
buildScale(LineProps props, List<DynamicData> dataSet) BaseScale<dynamic, num>
override
dataToPoint(DynamicData data) double
给定一个数据将其转换为对应维度的坐标
draw(Canvas canvas, Paint paint) → void
inherited
drawAxisLine(Canvas canvas, Paint paint) → void
inherited
drawAxisName(Canvas canvas, Paint paint) → void
inherited
drawAxisTick(Canvas canvas, Paint paint) → void
inherited
getMaxStr() String
layout(LineProps layoutProps, List<DynamicData> dataSet) → void
override
layoutAxisName() TextDrawConfig
inherited
measure(double parentWidth, double parentHeight) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
obtainTicks() List<String>
inherited
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