AdjustableLabelsChartAreaContainer constructor
AdjustableLabelsChartAreaContainer({
- required ChartTopContainer chartTopContainer,
- LabelLayoutStrategy? xContainerLabelLayoutStrategy,
Implementation
AdjustableLabelsChartAreaContainer({
required ChartTopContainer chartTopContainer,
strategy.LabelLayoutStrategy? xContainerLabelLayoutStrategy,
}) : _labelLayoutStrategy = xContainerLabelLayoutStrategy ??
strategy.DefaultIterativeLabelLayoutStrategy(options: chartTopContainer.data.chartOptions),
super(
chartTopContainer: chartTopContainer,
) {
// Must initialize in body, as access to 'this' not available in initializer.
_labelLayoutStrategy.onContainer(this);
}