appendPoint method
Implementation
void appendPoint(ChartItemLayoutState point) {
Offset currentPoint = point.originRect!.center;
_endPoint = currentPoint;
//非曲线就先append到path中
if (!isCurve) {
_path?.lineTo(currentPoint.dx, currentPoint.dy);
}
_pointList.add(Offset(currentPoint.dx, currentPoint.dy));
}