MindFusion.Charting Programmer's Guide

BarChart.TopLabels Property

See Also
 





Gets or sets custom labels drawn at the top of chart bars.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public IList TopLabels { get; set; }

Visual Basic  Copy Code

Public Property TopLabels As IList

 Property Value

An .NET IList that holds other arrays with the labels.

 Remarks

The property specifies the labels drawn at the top of chart bars when the top label type is set to LabelType.CustomText. Data to be drawn can be added directly to the TopLabels array. The control converts automatically any data to strings.

If the labels are less than the number of bars the control fills the missing positions with empty strings.

Bars can also have inner labels. They are set with InnerLabelType and InnerLabels.

Default value for the TopLabels property is an empty array object.

 See Also