BankPortfolioPerformanceChart constructor
const
BankPortfolioPerformanceChart({
- required List<
BankChartDataPoint> dataPoints, - Key? key,
- bool showGrid = true,
- Color? lineColor,
- BankChartTimeRange selectedRange = BankChartTimeRange.oneMonth,
- ValueChanged<
BankChartTimeRange> ? onRangeChanged, - double? height,
- double? lineWidth,
- Gradient? gradient,
- Color? gridColor,
- TextStyle? tooltipStyle,
- Color? accentColor,
- Map<
BankChartTimeRange, String> ? rangeLabels, - String emptyLabel = 'No data available',
- TextStyle? emptyLabelStyle,
- 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,
});