control.Region(n).DataAxis(n).LabelText

Type:String
Purpose:Passes one label text item for the data axis.
Default:-
Accessible:Runtime
Remarks:

On default data axes have numeric labels, which get calculated from properties MinValue and MaxValue in concjunction with Tickcount. Instead of these numeric values you can have string labels. There are three ways to pass these string labels:

  • Property LabelTextArray: pass all labels as an one-dimensional array of strings.
  • Property LabelString: pass all labels in a string, in which the single items are delimited by asterisks.
  • Property LabelText: pass each item apart.
Note: Each label may have a maximum length of 50 chars.
Example:RMChartX1.AddRegion
RMChartX1.Region(1).AddGrid
RMChartX1.Region(1).AddDataAxis
' Pass three labels for the first data axis:
RMChartX1.Region(1).DataAxis(1).LabelText = "Monday"
RMChartX1.Region(1).DataAxis(1).LabelText = "Tuesday"
RMChartX1.Region(1).DataAxis(1).LabelText = "Wednesday"