AccumulationDistributionIndicator<T, D> constructor
AccumulationDistributionIndicator<T, D> ({
- bool? isVisible,
- String? xAxisName,
- String? yAxisName,
- String? seriesName,
- List<
double> ? dashArray, - double? animationDuration,
- double? animationDelay,
- List<
T> ? dataSource, - ChartValueMapper<
T, D> ? xValueMapper, - ChartValueMapper<
T, num> ? highValueMapper, - ChartValueMapper<
T, num> ? lowValueMapper, - ChartValueMapper<
T, num> ? closeValueMapper, - ChartValueMapper<
T, num> ? volumeValueMapper, - String? name,
- bool? isVisibleInLegend,
- LegendIconType? legendIconType,
- String? legendItemText,
- Color? signalLineColor,
- double? signalLineWidth,
- ChartIndicatorRenderCallback? onRenderDetailsUpdate,
Creating an argument constructor of AccumulationDistributionIndicator class.
Implementation
AccumulationDistributionIndicator(
{bool? isVisible,
String? xAxisName,
String? yAxisName,
String? seriesName,
List<double>? dashArray,
double? animationDuration,
double? animationDelay,
List<T>? dataSource,
ChartValueMapper<T, D>? xValueMapper,
ChartValueMapper<T, num>? highValueMapper,
ChartValueMapper<T, num>? lowValueMapper,
ChartValueMapper<T, num>? closeValueMapper,
ChartValueMapper<T, num>? volumeValueMapper,
String? name,
bool? isVisibleInLegend,
LegendIconType? legendIconType,
String? legendItemText,
Color? signalLineColor,
double? signalLineWidth,
ChartIndicatorRenderCallback? onRenderDetailsUpdate})
: volumeValueMapper = (volumeValueMapper != null)
? ((int index) => volumeValueMapper(dataSource![index], index))
: null,
super(
isVisible: isVisible,
xAxisName: xAxisName,
yAxisName: yAxisName,
seriesName: seriesName,
dashArray: dashArray,
animationDuration: animationDuration,
animationDelay: animationDelay,
dataSource: dataSource,
xValueMapper: xValueMapper,
highValueMapper: highValueMapper,
lowValueMapper: lowValueMapper,
closeValueMapper: closeValueMapper,
name: name,
isVisibleInLegend: isVisibleInLegend,
legendIconType: legendIconType,
legendItemText: legendItemText,
signalLineColor: signalLineColor,
signalLineWidth: signalLineWidth,
onRenderDetailsUpdate: onRenderDetailsUpdate);