MindFusion.Charting Programmer's Guide

BarChart.InnerLabels Property

See Also
 





Gets or sets the labels drawn inside bars.

Namespace: MindFusion.Charting.WebForms
Assembly: MindFusion.Charting.WebForms

 Syntax

C#  Copy Code

public IList InnerLabels { get; }

Visual Basic  Copy Code

Public ReadOnly Property InnerLabels As IList

 Property Value

An object of type .NET IList that holds other lists with the 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