BrnBarBean class
每条线的定义
Constructors
-
BrnBarBean({String? name, TextStyle? xTitleStyle, bool isDrawX = false, double lineWidth = 2, double pointRadius = 0, bool isCurve = false, List<
BrnBarDataBean> ? points, Color lineColor = Colors.purple, List<Color> ? colors, bool placehoderImageBreak = true, Image? placehoderImage}) - create BrnBarBean
Properties
-
colors
↔ List<
Color> ? -
填充色
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCurve ↔ bool
-
标记是否为曲线
getter/setter pair
- isDrawX ↔ bool
-
是否显示x轴的文字,用来处理多个线条绘制的时候,同一x轴坐标不需要绘制多次,则只需要将多条线中一个标记绘制即可
getter/setter pair
- lineColor ↔ Color
-
曲线或折线的颜色
getter/setter pair
- lineWidth ↔ double
-
线宽
getter/setter pair
- name ↔ String?
-
名称
getter/setter pair
- placehoderImage ↔ Image?
-
用户当前进行位置的小图标(比如一个小锁),默认没有只显示y轴的值,如果有内容则显示这个小图标,
getter/setter pair
- placehoderImageBreak ↔ bool
-
占位图是否需要打断线条绘制,如果打断的话这个点的y值将没有意义,只有x轴有效,如果不打断的话,y轴值有效
getter/setter pair
- pointRadius ↔ double
-
线条点的特殊处理,如果内容不为空,则在点上面会绘制一个圆点,这个是圆点半径参数
getter/setter pair
-
points
↔ List<
BrnBarDataBean> ? -
点集合
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- xTitleStyle ↔ TextStyle?
-
x轴的字体样式
getter/setter pair
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