StackableValuePoint constructor

StackableValuePoint({
  1. required String xLabel,
  2. required double dataY,
  3. required int dataRowIndex,
  4. StackableValuePoint? predecessorPoint,
})

The generative constructor of objects for this class.

Implementation

StackableValuePoint({
  required this.xLabel,
  required this.dataY,
  required this.dataRowIndex,
  this.predecessorPoint,
})  : isStacked = false,
      fromY = 0.0,
      toY = dataY;