BarGraphYLabelPainter class Null safety

Y 라벨 그리기

Inheritance

Constructors

BarGraphYLabelPainter({List<BarDataDay>? barItemsDay, bool isBiDirectional = false, bool yLabelVisible = true})

Properties

barHeightRatio double
read / write, inherited
barItemsDay List<BarDataDay>?
그래프 데이터
read / write, override
barPaint Paint
final, inherited
barPaintDark Paint
final, inherited
barPaintHighlight Paint
final, inherited
barPaintLight Paint
final, inherited
barPaintSit Paint
final, inherited
barPaintSitHighlight Paint
final, inherited
barPaintStand Paint
final, inherited
barPaintStandHighlight Paint
final, inherited
barSpace double
바 간 간격
read / write, inherited
barStartOffsetX double
첫 바의 시작 오프셋 X
read / write, inherited
barWidth double
바의 넓이
read / write, inherited
baseOffsetY double
read / write, inherited
cow Cow?
일령을 계산하기 위해 소정보를 담습니다.
read / write, inherited
current Offset
read / write, inherited
dotPaint1 Paint
final, inherited
dotPaint2 Paint
final, inherited
dotPaint3 Paint
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
horizontalLineDashSpace double
가로선의 점선간격
read / write, inherited
horizontalLineDashWidth double
가로선의 점선넓이
read / write, inherited
horizontalLineHeight double
가로선의 높이
read / write, inherited
horizontalLinePaint Paint
read / write, inherited
horizontalLineVisible bool
가로선을 보여줄것인지
read / write, inherited
hourCntInDay int
하루에 몇시간이 존재하는지, 일별 그래프면 1개, 시간별 그래프면 24개
read / write, inherited
isAvgLineVisible bool
read / write, inherited
isBiDirectional bool
앉기/서기 그래프의 경우 가운데 축을 기준으로 위아래로 표현합니다.
read / write, override
isGroupAvg bool
쓰지않음
read / write, inherited
isNightVisible bool
read / write, inherited
isRangeVisible bool
read / write, inherited
lineDotPaint Paint
final, inherited
linePaint Paint
final, inherited
maxBarHeight double
read / write, inherited
next Offset
read / write, inherited
nightPaint Paint
final, inherited
offset Offset
read / write, inherited
prev Offset
read / write, inherited
rangePaint Paint
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
semanticsBuilder SemanticsBuilderCallback?
Returns a function that builds semantic information for the picture drawn by this painter. [...]
read-only, inherited
smoothness double
read / write, inherited
temp Offset
read / write, inherited
xLabelBirthDayMargin double
x축 일령라벨 텍스트와 그래프간 간격
read / write, inherited
xLabelBirthDaySize double
x축 일령라벨 텍스트의 사이즈
read / write, inherited
xLabelBirthDayVisible bool
x축 일령라벨 텍스트를 보여줄것인지
read / write, inherited
xLabelDayMargin double
x축 날짜라벨 텍스트와 그래프간 간격
read / write, inherited
xLabelDaySize double
x축 날짜라벨 텍스트의 크기
read / write, inherited
xLabelDayVisible bool
x축 날짜라벨 텍스트를 보여줄것인지
read / write, inherited
xLabelHourMargin double
x축 시간라벨 텍스트와 그래프간 간격
read / write, inherited
xLabelHourSize double
x축 시간라벨 텍스트의 크기
read / write, inherited
xLabelHourVisible bool
x축 시간라벨 텍스트를 보여줄것인지
read / write, inherited
xLabelValueMargin double
바와 값텍스트의 간격
read / write, inherited
xLabelValueSize double
바 위에 표시되는 값텍스트의 사이즈
read / write, inherited
xLabelValueVisible bool
값텍스트를 보여줄것인지
read / write, inherited
yLabelCount int
y축 라벨의 개수
read / write, inherited
yLabelMargin double
y축 라벨과 그래프간 간격
read / write, inherited
yLabelSize double
y축 라벨의 크기
read / write, inherited
yLabelVisible bool
y축 라벨을 보여줄것인지
read / write, override
yLabelWidth double
y축 라벨의 가로넓이
read / write, inherited
yMaxVal double
y축 최대값, 그래프 값에 따라 동적으로 변경됩니다.
read / write, inherited
yMinVal double
y축 최소값, 그래프 값에 따라 동적으로 변경됩니다.
read / write, inherited
ySectionHeight double
read / write, inherited
yTopMargin double
y축 상단 여백
read / write, inherited

Methods

addListener(VoidCallback listener) → void
Register a closure to be notified when it is time to repaint. [...]
inherited
drawAvgLine(Canvas canvas, Size size, bool isBottom) → void
평균선을 그립니다.
inherited
drawBar(Canvas canvas, Size size, List<BarDataHour?> barDataHour, double offsetDx, int i) List
바를 그립니다.
inherited
drawHorizontalLine(Canvas canvas, double offsetDx, double yCenter) → void
가로선을 그립니다.
inherited
drawRangePath(Canvas canvas, Size size, bool isBottom) → void
범위(밴드)를 표시하는 그래프를 그립니다.
inherited
drawXLabelBirthDay(Canvas canvas, Size size, Offset barCenter, String label, String dayLabel) → void
x축 일령라벨을 그립니다.
inherited
drawXLabelDay(Canvas canvas, Size size, Offset barCenter, String label, String dayLabel, int k) → void
x축 날짜라벨을 그립니다.
inherited
drawXLabelHour(Canvas canvas, Size size, Offset barCenter, String label, String dayLabel) → void
x축 시간라벨을 그립니다.
inherited
drawXLabelValue(Canvas canvas, Size size, String valueLabel, String valueBottomLabel, Offset barCenter, double barHeight, double barHeightBottom) → void
x축 라벨을 그립니다.
inherited
drawYLabel(Canvas canvas, Size size, int k) → void
y축 라벨을 그립니다.
override
hitTest(Offset position) bool?
Called whenever a hit test is being performed on an object that is using this custom paint delegate. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
paint(Canvas canvas, Size size) → void
Called whenever the object needs to paint. The given Canvas has its coordinate space configured such that the origin is at the top left of the box. The area of the box is the size of the size argument. [...]
override
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that the object notifies when it is time to repaint. [...]
inherited
shouldRebuildSemantics(covariant CustomPainter oldDelegate) bool
Called whenever a new instance of the custom painter delegate class is provided to the RenderCustomPaint object, or any time that a new CustomPaint object is created with a new instance of the custom painter delegate class (which amounts to the same thing, because the latter is implemented in terms of the former). [...]
inherited
shouldRepaint(covariant BarGraphPainter oldDelegate) bool
Called whenever a new instance of the custom painter delegate class is provided to the RenderCustomPaint object, or any time that a new CustomPaint object is created with a new instance of the custom painter delegate class (which amounts to the same thing, because the latter is implemented in terms of the former). [...]
override
toString() String
A string representation of this object. [...]
inherited

Operators

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