PlexBarChart constructor

const PlexBarChart({
  1. Key? key,
  2. String? title,
  3. required List<PlexBarSeries> series,
  4. PlexBarOrientation orientation = PlexBarOrientation.vertical,
  5. bool stacked = false,
  6. double height = 300,
  7. bool showLegend = true,
  8. void onDataPointTap(
    1. String seriesName,
    2. String x,
    3. double y
    )?,
})

Implementation

const PlexBarChart({
  super.key,
  this.title,
  required this.series,
  this.orientation = PlexBarOrientation.vertical,
  this.stacked = false,
  this.height = 300,
  this.showLegend = true,
  this.onDataPointTap,
});