NumYStacks

 

Use this property to return/set the number of YStacks (plots) that are displayed on the chart.  A Profile can be plotted on any of the available YStacks.

Value is an integer between 1 and 10 (or NumYScales, whichever is less).   Default: 1.

 

Example

With XYChartCtrl1 
    .NumYScales = 5

    .NumProfiles = 5
    .YStacking = True
    .NumYStacks = 2

    .YStack(1).NumYScales = 3    'Y-Stack 1 will contain Y-Scales 1, 2 and 3
    .YStack(2).NumYScales = 2    'Y-Stack 2 will contain Y-Scales 4 and 5

    .Profile(1).YScale = 1       'Profile 1 will be displayed on Y-Stack 1
    .Profile(2).YScale = 2       'Profile 2 will be displayed on Y-Stack 1
    .Profile(3).YScale = 3       'Profile 3 will be displayed on Y-Stack 1

    .Profile(4).YScale = 4       'Profile 4 will be displayed on Y-Stack 2
    .Profile(5).YScale = 5       'Profile 5 will be displayed on Y-Stack 2
End With

 

See Also

Properties    YStacking Feature    YStack Class