2.2.4.17.43 GraphLayer::YAxis

ClassName

GraphLayer

AccessType

public

Name

YAxis

Declaration

Axis YAxis

Remark

Examples

EX1

//Show Y axis ticks and lables.
void GraphLayer_YAxis_ex1()
{
    GraphLayer gl = Project.ActiveLayer();    
    
    if ( gl )
    {
    	const bool bShow = true;
    
    	Axis y = gl.YAxis;
    
    	y.AxisObjects(AXISOBJPOS_AXIS_SECOND).RightTicks.Show.nVal = bShow;
    	y.AxisObjects(AXISOBJPOS_LABEL_SECOND).RightLabels.Show.nVal = bShow;
    
    	gl.GetPage().Refresh(TRUE);
    }
}

Description

Header to Include

origin.h

See Also

Reference