@amcharts/amcharts5
Version:
amCharts 5
16 lines • 659 B
JavaScript
import { PercentChart } from "../percent/PercentChart";
/**
* Creates a sliced chart for use with [[FunnelSeries]], [[PyramidSeries]], or [[PictorialStackedSeries]].
*
* @see {@link https://www.amcharts.com/docs/v5/charts/percent-charts/sliced-chart/} for more info
* @important
*/
export class SlicedChart extends PercentChart {
_afterNew() {
super._afterNew();
this.seriesContainer.setAll({ isMeasured: true, layout: this._root.horizontalLayout });
}
}
SlicedChart.className = "SlicedChart";
SlicedChart.classNames = PercentChart.classNames.concat([SlicedChart.className]);
//# sourceMappingURL=SlicedChart.js.map