Graph constructor

const Graph(
  1. GraphData data, {
  2. Key? key,
  3. XLabelConfiguration? xLabelConfiguration,
  4. YLabelConfiguration? yLabelConfiguration,
  5. GraphType? graphType,
  6. NetLine? netLine,
  7. ScrollController? scrollController,
  8. double height = 350,
  9. dynamic onBarTapped(
    1. GraphBar
    )?,
  10. double barWidth = 30,
})

Implementation

const Graph(
  this.data, {
  Key? key,
  this.xLabelConfiguration,
  this.yLabelConfiguration,
  this.graphType,
  this.netLine,
  this.scrollController,
  this.height = 350,
  this.onBarTapped,
  this.barWidth = 30,
}) : super(key: key);