YAxis class

Inheritance

Constructors

YAxis({bool alignTicks = false, Align2 position = Align2.end, AxisType type = AxisType.value, double offset = 0, Align2 nameAlign = Align2.end, LabelStyle nameStyle = const LabelStyle(), num nameGap = 3, 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(), MainTick axisTick = const MainTick(), MinorTick minorTick = const MinorTick(), AxisLabel axisLabel = const AxisLabel(), SplitLine splitLine = const SplitLine(), MinorSplitLine minorSplitLine = const MinorSplitLine(), SplitArea splitArea = const SplitArea(), List<String> categoryList = const [], AxisPointer axisPointer = const AxisPointer(), String name = '', bool show = true, FormatterFun<num>? formatFun, Pair<DateTime>? timeRange, TimeSplitType timeSplitType = TimeSplitType.day})
const

Properties

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

Methods

buildTicks(BaseScale<dynamic, num> scale) → List<String>
inherited
defaultTimeFormat(DateTime time) → String
inherited
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>
inherited
toString() → String
A string representation of this object.
inherited

Operators

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