BankPortfolioPerformanceChart constructor

const BankPortfolioPerformanceChart({
  1. required List<BankChartDataPoint> dataPoints,
  2. Key? key,
  3. bool showGrid = true,
  4. Color? lineColor,
  5. BankChartTimeRange selectedRange = BankChartTimeRange.oneMonth,
  6. ValueChanged<BankChartTimeRange>? onRangeChanged,
  7. double? height,
  8. double? lineWidth,
  9. Gradient? gradient,
  10. Color? gridColor,
  11. TextStyle? tooltipStyle,
  12. Color? accentColor,
  13. Map<BankChartTimeRange, String>? rangeLabels,
  14. String emptyLabel = 'No data available',
  15. TextStyle? emptyLabelStyle,
  16. String? semanticLabel,
})

Implementation

const BankPortfolioPerformanceChart({
  required this.dataPoints,
  super.key,
  this.showGrid = true,
  this.lineColor,
  this.selectedRange = BankChartTimeRange.oneMonth,
  this.onRangeChanged,
  this.height,
  this.lineWidth,
  this.gradient,
  this.gridColor,
  this.tooltipStyle,
  this.accentColor,
  this.rangeLabels,
  this.emptyLabel = 'No data available',
  this.emptyLabelStyle,
  this.semanticLabel,
});