ChartBodyRender<T> class
图表主体
Constructors
-
ChartBodyRender({required List<
T> data, int yAxisPosition = 0})
Properties
- chartState ↔ ChartLayoutState
-
图表的布局状态
getter/setter pair
- controller ↔ ChartController
-
getter/setter pair
-
data
→ List<
T> -
数据源
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index ↔ int
-
在图表中的位置
getter/setter pair
- isInit ↔ bool
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- yAxisPosition → int
-
跟哪个y轴关联
final
Methods
-
draw(
Canvas canvas, ChartsState state) → void -
inherited
-
getLastData(
bool need) → List< ChartItemLayoutState> ? -
init(
ChartsState state) → void -
初始化 耗时的方法都可以放到这里
inherited
-
lerpList(
List< num> ? a, List<num> ? b, double t) → List<num> ? -
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