TechnicalIndicator<T, D> constructor
TechnicalIndicator<T, D> ({
- bool isVisible = true,
- String? xAxisName,
- String? yAxisName,
- String? seriesName,
- List<
double> dashArray = const <double>[0, 0], - double animationDuration = 1500,
- double animationDelay = 0,
- List<
T> ? dataSource, - ChartIndexedValueMapper<
D> ? xValueMapper, - ChartIndexedValueMapper<
num?> ? highValueMapper, - ChartIndexedValueMapper<
num?> ? lowValueMapper, - ChartIndexedValueMapper<
num?> ? openValueMapper, - ChartIndexedValueMapper<
num?> ? closeValueMapper, - ChartIndexedValueMapper<
num?> ? volumeValueMapper, - String? name,
- ChartIndicatorRenderCallback? onRenderDetailsUpdate,
- bool isVisibleInLegend = true,
- LegendIconType legendIconType = LegendIconType.seriesType,
- String? legendItemText,
- Color signalLineColor = Colors.blue,
- double signalLineWidth = 2,
Creating an argument constructor of TechnicalIndicators class.
Implementation
TechnicalIndicator({
this.isVisible = true,
this.xAxisName,
this.yAxisName,
this.seriesName,
this.dashArray = const <double>[0, 0],
this.animationDuration = 1500,
this.animationDelay = 0,
this.dataSource,
this.xValueMapper,
this.highValueMapper,
this.lowValueMapper,
this.openValueMapper,
this.closeValueMapper,
this.volumeValueMapper,
this.name,
this.onRenderDetailsUpdate,
this.isVisibleInLegend = true,
this.legendIconType = LegendIconType.seriesType,
this.legendItemText,
this.signalLineColor = Colors.blue,
this.signalLineWidth = 2,
});