totalDataLabel property

DataLabel? totalDataLabel
getter/setter pair

Controls whether to display additional data labels on stacked charts which sum the total value of all stacked values at each value along the domain axis.

These data labels can only be set when chart_type is one of AREA, BAR, COLUMN, COMBO or STEPPED_AREA and stacked_type is either STACKED or PERCENT_STACKED. In addition, for COMBO, this will only be supported if there is only one type of stackable series type or one type has more series than the others and each of the other types have no more than one series. For example, if a chart has two stacked bar series and one area series, the total data labels will be supported. If it has three bar series and two area series, total data labels are not allowed. Neither CUSTOM nor placement can be set on the total_data_label.

Implementation

DataLabel? totalDataLabel;