Gets whether outer labels are displayed stacked on top of stacked bars, instead of showing them on the bar sides.
Namespace: MindFusion.Charting
File: BarRenderer.js
JavaScript Copy Code |
---|
get stackOuterLabels() {} |
A Boolean value. true if outer labels are drawn at the top of the bar stack; otherwise false.
The following code creates two BarSeries with data and outer labels and a new BarStackRenderer using these series. It specifies that the 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"])); var barRenderer = new Charting.BarStackRenderer(new Collections.ObservableCollection([data1, data2])); |