MindFusion.Charting Programmer's Guide

AxesChart.XLabelsFields Property

See Also
 





Gets or sets the column(s) in a database table/view that is(are) used as data for the X-labels.

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

 Syntax

C#  Copy Code

public string XLabelsFields { get; }

Visual Basic  Copy Code

Public ReadOnly Property XLabelsFields As String

 Property Value

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

 Remarks

The property enables you to bind the data used as custom X-labels to a database table/view.  If you set more than one column, separate the names with commas.

The labels specified through XLabelsFields are drawn only if the LabelType field of the XAxisSettings property is set to AxisLabelType.CustomText. The XLabelsFields property, when populated with data, is the same as the XLabels property.

 See Also