control.Region(n).DataAxis(n).LabelString

Type:String
Purpose:Passes all labels for the data axes enclosed in an asterisks separated string.
Default:-
Accessible:Runtime
Remarks:

On default the 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.
Note: If you don't want any labels, simply pass one single dash (-), which prevents also painting of the numeric labels.
Example:RMChartX1.AddRegion
RMChartX1.Region(1).AddGrid
RMChartX1.Region(1).AddDataAxis
' Pass all labels for the first data axis enclosed in a string:
RMChartX1.Region(1).DataAxis(1).LabelString = "10:00*11:00*12:00" ' Add a second data axis:
RMChartX1.Region(1).AddDataAxis
' Prevent painting of any label for this axis:
RMChartX1.Region(1).DataAxis(2).LabelString = "-"