Grid class
笛卡尔坐标系 一个Grid 最多可以同时放置上下两个X轴,左右两个Y轴
Constructors
- Grid({bool containLabel = false, AreaStyle style = const AreaStyle(color: Colors.transparent, border: LineStyle(color: Color(0xFFCCCCCC), width: 1)), ToolTip? toolTip, SNumber leftMargin = const SNumber.number(0), SNumber topMargin = const SNumber.number(0), SNumber rightMargin = const SNumber.number(0), SNumber bottomMargin = const SNumber.number(0), SNumber? width, SNumber? height, String id = '', bool show = true})
-
const
Properties
- bottomMargin → SNumber
-
final
- containLabel → bool
-
grid区域是否包含坐标轴的刻度标签
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → SNumber?
-
final
- id → String
-
final
- leftMargin → SNumber
-
final
- rightMargin → SNumber
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- show → bool
-
final
- style → AreaStyle
-
final
- toolTip → ToolTip?
-
final
- topMargin → SNumber
-
final
- width → SNumber?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited