paint method
void
paint(
- Canvas canvas,
- Size size,
- double epochToX(),
- double quoteToY(),
- AnimationInfo animationInfo,
- ChartConfig chartConfig,
- ChartTheme theme,
- ChartScaleModel chartScaleModel,
override
Paints seriesPainter's data on the canvas.
Implementation
@override
void paint(
Canvas canvas,
Size size,
double Function(int) epochToX,
double Function(double) quoteToY,
AnimationInfo animationInfo,
ChartConfig chartConfig,
ChartTheme theme,
ChartScaleModel chartScaleModel,
) {
macdHistogramSeries.paint(
canvas,
size,
epochToX,
quoteToY,
animationInfo,
chartConfig,
theme,
chartScaleModel,
);
macdSeries.paint(
canvas,
size,
epochToX,
quoteToY,
animationInfo,
chartConfig,
theme,
chartScaleModel,
);
signalMACDSeries.paint(
canvas,
size,
epochToX,
quoteToY,
animationInfo,
chartConfig,
theme,
chartScaleModel,
);
}