MindFusion.Charting Programmer's Guide

BarChart.TopLabelsFields Property

See Also
 





Gets or sets the field(s) in a database table/view used to povide data for the bar top labels.

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

 Syntax

C#  Copy Code

public string TopLabelsFields { get; }

Visual Basic  Copy Code

Public ReadOnly Property TopLabelsFields As String

 Property Value

A string. Default value is an empty string ("").

 Remarks

The property enables databing for the data used as bar top labels. If you need to set more than one field, separate the names with commas.

Labels set with the TopLabelsFields are drawn only if  TopLabelType is set to LabelType.CustomText. The TopLabelsFields property, when populated with data, is the same as the TopLabels property.

 See Also