volumeValueMapper property

ChartIndexedValueMapper<num>? volumeValueMapper
final

Volume of series.

This value is mapped to the series.

Defaults to null

Widget build(BuildContext context) {
 return Container(
      child: SfCartesianChart(
      indicators: <TechnicalIndicators<Sample, dynamic>>[
           AccumulationDistributionIndicator<Sample, dynamic>(
               seriesName: 'Balloon',
               animationDuration: 2000),
         ],
      series: <ChartSeries<Sample, dynamic>>[
      HiloOpenCloseSeries<Sample, dynamic>(
              volumeValueMapper: (Sample sales, _) => sales.volume,
              name: 'Balloon'
        )],
    ));
}

Implementation

final ChartIndexedValueMapper<num>? volumeValueMapper;