BaseLine constructor

BaseLine(
  1. LineChartBean data,
  2. 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;
}