Search
BarRenderer.innerLabelRotation Property
See Also
 






Gets the rotation angle of inner labels. If not specified, labels are rotated at predefiend angles depending on bars' orientation and layout.

Namespace: MindFusion.Charting
File: BarRenderer.js

 Syntax

JavaScript  Copy Code

get innerLabelRotation() {}

 Property Value

A Number.

 Example

The following code creates a new BarSeries with data and inner labels and a new BarRenderer using that series. It sets the rotation of inner labels to 30 degrees:

JavaScript  Copy Code
//the second argument specifies the inner labels
var data = new Charting.BarSeries(
 new Collections.List([13, 13, 14, 16, 23, 44]), new Collections.List(["Jan", "Feb", "Mar", "Apr", "May", "Jun"]));
var barRenderer = new Charting.BarRenderer(new Collections.ObservableCollection([data]));
barRenderer.innerLabelRotation = 30;

 See Also