Gets or sets the database columns from which custom labels for the x-axis are retrieved.
Namespace: MindFusion.Reporting
Assembly: MindFusion.Reporting
C# Copy Code |
---|
public string XLabelsFields { get; set; } |
Visual Basic Copy Code |
---|
Public Property XLabelsFields As String |
A string that specifies the name of the data source field used as X-labels.
The property enables you to bind the labels drawn at the X-axis to a field in a database. The data source object is specified with the DataSource property. If it is of type DataSet, you can use the DataMember property to specify a given table as source for the chart data. In this case, the fields of the table appear as items in the drop down combo box in the XLabelsFields property of the chart control.
The labels specified with the XLabelsFields are drawn only if the LabelType of the XAxisSettings property is set to AxisLabelType.CustomText.
The XLabelsFields property, when populated with data, is the same as the XLabels property.
Default value for the XLabelsFields property is an empty string ("").