BaseLine constructor
BaseLine(
- LineChartBean data,
- double itemWidth
Implementation
BaseLine(this.data, this.itemWidth) {
_paint = Paint();
_paint.color = data.lineColor;
_paint.style = PaintingStyle.stroke;
_paint.strokeWidth = 1.w;
_paint.isAntiAlias = true;
}