Use this property to return/set a value that determines the number
of X-axis scales that can be displayed on the chart. A Profile can
be plotted against a specific X-axis scale via the Profile
property.
Value is an integer between 1 and 10 (or NumProfiles, whichever is
less). Default: 1.
Example
intValue = XYChartCtrl.NumXScales 'Returns
the number of x-axis scales to display
XYChartCtrl.NumProfiles =
10 'Sets
the number of profiles to plot to 10
XYChartCtrl.NumXScales = 2 'Sets
the number of x-axis scales to 2
XYChartCtrl.Profile(1).XScale =
1 'Assign Profile 1 to use
X-scale 1
XYChartCtrl.Profile(2).XScale =
2 'Assign Profile 2 to use
X-scale 2
XYChartCtrl.Profile(3).XScale =
1 'Assign Profile 3 to use
X-scale 1
XYChartCtrl.Profile(4).XScale =
2 'Assign Profile 4 to use
X-scale 2
XYChartCtrl.Profile(5).XScale = 2 'Assign Profile 5 to use
X-scale 2
XYChartCtrl.Profile(6).XScale = 2 'Assign Profile 6 to use
X-scale 2
XYChartCtrl.Profile(7).XScale = 2 'Assign Profile 7 to use
X-scale 2
XYChartCtrl.Profile(8).XScale = 2 'Assign Profile 8 to use
X-scale 2
XYChartCtrl.Profile(9).XScale = 1 'Assign Profile 9 to use
X-scale 1
XYChartCtrl.Profile(10).XScale = 1 'Assign Profile 10 to use
X-scale 1
XYChartCtrl.Refresh 'Refresh required to update
chart with
changes made
See
Also