Gets whether outer labels are displayed stacked on top of stacked bars, instead of showing them on the bar sides.
Namespace: MindFusion.Charting.Controls
File: BarChart.js
JavaScript Copy Code |
---|
get stackOuterLabels() {} |
Type: Boolean
The following code creates two BarSeries with data and outer labels. They are assigned to the series property of a BarChart control, whose barLayout is set to BarLayout.Stack. The stackOuterLabels property is used to specify that outer labels must be drawn on top of the bar stacks:
JavaScript Copy Code |
---|
//the second argument specifies the inner labels, the third argument specifies the top(outer) labels "May", "Jun"])); "May", "Jun"])); barChart.series = new Collections.ObservableCollection([data1, data2]); barChart.barLayout = Charting.BarLayout.Stack; |