withController method
Override in concrete configs to return a controller-attached copy.
Implementation
@override
BaseChartConfig withController(ChartController controller) {
return IndicatorChartConfig(
value: value,
label: label,
previousValue: previousValue,
unit: unit,
precision: precision,
theme: theme,
title: title,
controller: controller,
);
}