XY Chart NET 3 Control Reference
NumYScales Property

Use this property to return/set a value that determines the number of Y-axis scales that can be displayed on the chart.

Syntax
[Visual Basic]
Property NumYScales() As Integer
[C#]
int XYChartNETCtl.NumYScales
[C++]
property int XYChartNet::XYChartNETCtl::NumYScales
       
Remarks

Value is an integer between 1 and 100 (or NumProfiles, whichever is less).  A Profile can be plotted against a specific Y-axis scale via the Profile property.

For Lite versions, the upper bound is 2.
Default Value
1
Example
' XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.

Dim iValue As Integer
iValue = XYChartNETCtl1.NumYScales    'Returns the number of y-axis scales

XYChartNETCtl1.NumProfiles = 8        'Sets the number of profiles to plot to 8
XYChartNETCtl1.NumYScales = 4         'Sets the number of y-axis scales to 4
XYChartNETCtl1.Profile(0).YScale = 0  'Assign Profile 0 to use Y-scale 0
XYChartNETCtl1.Profile(1).YScale = 1  'Assign Profile 1 to use Y-scale 1
XYChartNETCtl1.Profile(2).YScale = 2  'Assign Profile 2 to use Y-scale 2
XYChartNETCtl1.Profile(3).YScale = 3  'Assign Profile 3 to use Y-scale 3
XYChartNETCtl1.Profile(4).YScale = 0  'Assign Profile 4 to use Y-scale 0
XYChartNETCtl1.Profile(5).YScale = 1  'Assign Profile 5 to use Y-scale 1
XYChartNETCtl1.Profile(6).YScale = 2  'Assign Profile 6 to use Y-scale 2
XYChartNETCtl1.Profile(7).YScale = 3  'Assign Profile 7 to use Y-scale 3
XYChartNETCtl1.Refresh                'Refresh required to update chart with changes made
                       
                       
See Also

 

 


© 2003 - 2013 ControlEng Corporation. All rights reserved.