BrnBarChartScaleStyle class

Constructors

BrnBarChartScaleStyle({required String title, TextStyle? titleStyle, String? centerSubTitle, TextStyle? centerSubTextStyle, double? positionRetioy, bool isLeft = true})
create BrnBarChartScaleStyle

Properties

centerSubTextStyle TextStyle?
标注文案样式,centerSubTitle有内容时有效
getter/setter pair
centerSubTitle String?
下面标注文案独属y轴使用,目前还没有x轴扩展需求,x轴设置下面参数无效,后期有需要再扩展 两个刻度之间的标注文案(向前绘制即x轴在该刻度左侧绘制,y轴在该刻度下面绘制),不需要的话不设置
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isLeft bool
标注文案位置是否是在左侧,false表示在右侧,centerSubTitle有内容时有效
getter/setter pair
positionRetioy double?
与最大数值的比率,用来计算绘制刻度的位置使用。
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
刻度标志内容(y轴仅适用于内容为数值类型的,x轴不限制)
getter/setter pair
titleStyle TextStyle?
刻度标志样式
getter/setter pair
titleValue double
y轴获取的值,只读
no setter

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