Context class
存放整个图表的运行相关的数据
Constructors
- Context(ChartConfig config, TickerProvider tickerProvider, GestureDispatcher? dispatcher, ViewParent rootViewGroup)
Properties
- config → ChartConfig
-
final
- gestureDispatcher ↔ GestureDispatcher
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
-
renderList
→ List<
CoordinateLayout> -
返回渲染的View节点
no setter
- root ↔ ViewParent
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tickerProvider → TickerProvider
-
final
- toolTipNode → ToolTipNode
-
整个图标最多只有一个
no setter
Methods
-
copy(
{ChartConfig? config, TickerProvider? tickerProvider, Size? canvasSize, ViewParent? rootViewGroup, GestureDispatcher? dispatcher}) → Context -
destroy(
) → void -
findCalendarCoord(
[int calendarIndex = 0]) → CalendarLayout -
findGridCoord(
) → GridLayout -
findParallelCoord(
[int parallelIndex = 0]) → ParallelLayout -
findPolarCoord(
[int polarIndex = 0]) → PolarLayout -
findRadarCoord(
[int radarIndex = 0]) → RadarLayout -
init(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerToolTip(
ToolTipListener listener) → void -
toString(
) → String -
A string representation of this object.
inherited
-
unRegisterToolTip(
ToolTipListener listener) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited