2.2.4.17.39 GraphLayer::XAxis

ClassName

GraphLayer

AccessType

public

Name

XAxis

Declaration

Axis XAxis

Remark

Examples

EX1

// Show the graph layer's top axis ticks and lables.
void GraphLayer_XAxis_ex1()
{
    GraphLayer gl = Project.ActiveLayer();    
    
    if ( gl )
    {
    	const bool bShow = true;
    
    	Axis x = gl.XAxis;
    
    	x.AxisObjects(AXISOBJPOS_AXIS_SECOND).TopTicks.Show.nVal = bShow;
    	x.AxisObjects(AXISOBJPOS_LABEL_SECOND).TopLabels.Show.nVal = bShow;
    
    	gl.GetPage().Refresh(TRUE);
    }
}

Description

Header to Include

origin.h

See Also

Reference