ChartSampleData constructor

ChartSampleData({
  1. dynamic x,
  2. num? y,
  3. dynamic xValue,
  4. num? yValue,
  5. num? secondSeriesYValue,
  6. num? thirdSeriesYValue,
  7. Color? pointColor,
  8. num? size,
  9. String? text,
  10. num? open,
  11. num? close,
  12. num? low,
  13. num? high,
  14. num? volume,
  15. int gradientIndex = 0,
})

Holds the datapoint values like x, y, etc.,

Implementation

ChartSampleData(
    {this.x,
    this.y,
    this.xValue,
    this.yValue,
    this.secondSeriesYValue,
    this.thirdSeriesYValue,
    this.pointColor,
    this.size,
    this.text,
    this.open,
    this.close,
    this.low,
    this.high,
    this.volume,
    this.gradientIndex = 0});