Nevron .NET Vision
Nevron.Chart Namespace / NSeriesBase Class / DisplayOnAxis Method / DisplayOnAxis(StandardAxis,Boolean) Method
specifies the targeted standard axis
if true the series is scaled on the specified axis

if false the series is not scaled on the specified axis

Example


In This Topic
    DisplayOnAxis(StandardAxis,Boolean) Method
    In This Topic
    Instructs the chart whether to scale the series on one of the standard chart axes.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub DisplayOnAxis( _
       ByVal axis As StandardAxis, _
       ByVal display As System.Boolean _
    ) 
    'Usage
     
    
    Dim instance As NSeriesBase
    Dim axis As StandardAxis
    Dim display As System.Boolean
     
    instance.DisplayOnAxis(axis, display)
    public virtual void DisplayOnAxis( 
       StandardAxis axis,
       System.bool display
    )

    Parameters

    axis
    specifies the targeted standard axis
    display
    if true the series is scaled on the specified axis

    if false the series is not scaled on the specified axis

    Remarks
    By default all series are scaled on the PrimaryX and PrimaryY axes and always on the Depth axis.
    Example
    The following code scales a bar series on the SecondaryY axis and removes it from the PrimaryY axis.
    bar.DisplayOnAxis(StandardAxis.SecondaryY, True)
    bar.DisplayOnAxis(StandardAxis.PrimaryY, False)
    bar.DisplayOnAxis(StandardAxis.SecondaryY, true);
    bar.DisplayOnAxis(StandardAxis.PrimaryY, false);
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also