IndicatorChartConfig constructor

IndicatorChartConfig({
  1. required double value,
  2. required String label,
  3. double? previousValue,
  4. String? unit,
  5. int precision = 0,
  6. ChartTheme? theme,
  7. TitlesData? title,
  8. ChartController? controller,
})

Implementation

IndicatorChartConfig({
  required this.value,
  required this.label,
  this.previousValue,
  this.unit,
  this.precision = 0,
  super.theme,
  super.title,
  super.controller,
}) : super(type: ChartType.indicator, series: []);