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,
) => seriesPainter?.paint(
canvas: canvas,
size: size,
epochToX: epochToX,
quoteToY: quoteToY,
animationInfo: animationInfo,
chartConfig: chartConfig,
theme: theme,
chartScaleModel: chartScaleModel,
);