MindFusion.Charting Programmer's Guide

BarChart.InnerLabels Property

See Also
 





Gets or sets the labels drawn inside bars.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public IList InnerLabels { get; set; }

Visual Basic  Copy Code

Public Property InnerLabels As IList

 Property Value

An object of type .NET IList that holds lists with the inner labels.

 Remarks

The property specifies the labels drawn inside chart bars when the inner label type is set to LabelType.CustomText. Add lists with the labels to the InnerLabels array. The control converts automatically any data to strings.

The data, specified with InnerLabels, is drawn only if the InnerLabelType property is LabelType.CustomText. InnerLabelAlignment sets the alignment of labels inside the bars. If the labels are less than the number of bars the control fills the missing positions with empty strings.

Bars can also have labels at the top. They are set with TopLabelType and TopLabels.

Default value for the InnerLabels property is an empty list.

 See Also