BarDataHour class Null safety Models

소데이터 그래프에서 사용되는 모델입니다. BarDataDay 안에 BarDataHour가 배열로 들어가 있습니다. 보통 CowData 모델을 그래프에서 사용하기위해 BarDataDay, BarDataHour로 변환하는 과정을 거칩니다. Helper.convertCowDataToGraphData 를 참고해주세요.

Constructors

BarDataHour({required double value, required String valueLabel, required double realValue, required String label, required DateTime dateTime, double valueBottom = 0, String valueBottomLabel = '', double realValueBottom = 0, double groupRangeTopValue = 0, double groupRangeBottomValue = 0, double groupAvgValue = 0, double totalRangeTopValue = 0, double totalRangeBottomValue = 0, double totalAvgValue = 0, double groupRangeTopValueBottom = 0, double groupRangeBottomValueBottom = 0, double groupAvgValueBottom = 0, double totalRangeTopValueBottom = 0, double totalRangeBottomValueBottom = 0, double totalAvgValueBottom = 0, bool isHighlighted = false})

Properties

dateTime DateTime
날짜값인데 보통 시간값을 가져옵니다.
final
groupAvgValue double
final
groupAvgValueBottom double
final
groupRangeBottomValue double
final
groupRangeBottomValueBottom double
final
groupRangeTopValue double
final
groupRangeTopValueBottom double
final
hashCode int
The hash code for this object. [...]
read-only, inherited
isHighlighted bool
true이면 그래프에서 빨간색으로 표시됩니다.
final
label String
값(value)을 나타내는 텍스트 라벨입니다.
final
realValue double
데이터의 원본 값입니다.
final
realValueBottom double
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
totalAvgValue double
final
totalAvgValueBottom double
final
totalRangeBottomValue double
final
totalRangeBottomValueBottom double
final
totalRangeTopValue double
전체평균, 그룹평균 관련 변수들입니다. 초기에 만들었던 변수들로 이제 해당 기능이 없으므로 필요하지 않습니다.
final
totalRangeTopValueBottom double
final
value double
final
valueBottom double
앉기, 서기 그래프에서는 가운데축을 기준으로 위아래로 표현하고 있습니다. value가 서기 값이라면 valueBottom은 앉기 값입니다.
final
valueBottomLabel String
final
valueLabel String
값 라벨입니다.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited