GridAxis class
笛卡尔坐标轴
Constructors
-
GridAxis({bool alignTicks = false, Align2 position = Align2.end, double offset = 0, MainTick axisTick = const MainTick(), MinorTick minorTick = const MinorTick(), AxisLabel axisLabel = const AxisLabel(), SplitLine splitLine = const SplitLine(), MinorSplitLine minorSplitLine = const MinorSplitLine(), SplitArea splitArea = const SplitArea(), AxisPointer axisPointer = const AxisPointer(), bool show = true, String name = '', AxisType type = AxisType.value, num min = 0, num? max, int splitNumber = 5, bool start0 = false, num logBase = 10, num? interval, num? maxInterval, num minInterval = 0, bool inverse = false, List<
String> categoryList = const [], Pair<DateTime> ? timeRange, TimeSplitType timeSplitType = TimeSplitType.day, bool silent = false, AxisLine axisLine = const AxisLine(), FormatterFun<num> ? formatFun, Align2 nameAlign = Align2.end, num nameGap = 3, LabelStyle nameStyle = const LabelStyle()}) -
const
Properties
- alignTicks → bool
-
final
- axisLabel → AxisLabel
-
final
- axisLine → AxisLine
-
finalinherited
- axisPointer → AxisPointer
-
final
- axisTick → MainTick
-
final
- 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
-
final
- minorTick → MinorTick
-
final
- name → String
-
finalinherited
- nameAlign → Align2
-
finalinherited
- nameGap → num
-
finalinherited
- nameStyle → LabelStyle
-
finalinherited
- niceType → NiceType
-
finalinherited
- offset → double
-
final
- position → Align2
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- show → bool
-
finalinherited
- silent → bool
-
样式、交互相关
finalinherited
- splitArea → SplitArea
-
final
- splitLine → SplitLine
-
final
- 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