| control.Region(n).DataAxis(n).AxisUnit | ||
| Type: | String |
| Purpose: | Sets a value unit (like %, $, € and so on) for the labels. |
| Default: | "" |
| Accessible: | Runtime |
| Remarks: | The maximum length of the value unit is 15 chars. The default alignment of the sign is on the left side of the data label (e.g. "$100.000"). Exception: the percent sign (%) aligns by default on the right side. You can force the sign either right ot left:
|
| Example: | RMChartX1.AddRegion RMChartX1.Region(1).AddDataAxis ' the percent sign will be printed behind the value label: RMChartX1.Region(1).DataAxis(1).AxisUnit = " %" ' add a second data axis: RMChartX1.Region(1).AddDataAxis ' the EURO sign will also be printed behind the value label: RMChartX1.Region(1).DataAxis(2).AxisUnit = " €/r"" |