BaseAxis class abstract

Implementers

Constructors

BaseAxis({bool show = true, String name = '', AxisType type = AxisType.value, List<String> categoryList = const [], TimeSplitType timeSplitType = TimeSplitType.day, FormatterFun<DateTime>? timeFormatFun, bool inverse = false, num min = 0, num? max, bool start0 = false, int splitNumber = 5, num minInterval = 0, num? maxInterval, num? interval, num logBase = 10, bool silent = false, AxisLine axisLine = const AxisLine(), FormatterFun<num>? formatFun, Pair<DateTime>? timeRange, num nameGap = 3, LabelStyle nameStyle = const LabelStyle(), Align2 nameAlign = Align2.end, NiceType niceType = NiceType.n1})
const

Properties

axisLine → AxisLine
final
category → bool
no setter
categoryList → List<String>
final
formatFun → FormatterFun<num>?
final
hashCode → int
The hash code for this object.
no setterinherited
interval → num?
final
inverse → bool
final
logBase → num
final
max → num?
final
maxInterval → num?
final
min → num
数值轴相关
final
minInterval → num
final
name → String
final
nameAlign → Align2
final
nameGap → num
final
nameStyle → LabelStyle
final
niceType → NiceType
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
show → bool
final
silent → bool
样式、交互相关
final
splitNumber → int
final
start0 → bool
是否是脱离 0 值比例。设置成 true 后坐标刻度不会强制包含零刻度
final
timeFormatFun → FormatterFun<DateTime>?
final
timeRange → Pair<DateTime>?
final
timeSplitType → TimeSplitType
final
type → AxisType
final

Methods

buildTicks(BaseScale<dynamic, num> scale) → List<String>
defaultTimeFormat(DateTime time) → String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toScale(num rangeStart, num rangeEnd, [List<DynamicData>? dataSet]) → BaseScale<dynamic, num>
toString() → String
A string representation of this object.
inherited

Operators

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