GraphLayer::X

ClassName

GraphLayer

AccessType

public

Name

X

Declaration

Scale X

Remark

Examples

EX1

//Output x axis To value.
void    GraphLayer_X_ex1()
{
    GraphPage gp;
    gp.Create("origin");
    GraphLayer        gl(gp.GetName(),0);
 
    if(gl)
    {
        // Intialize a Scale object from the X-axis scale of the GraphLayer
        // (gl.X is the X-axis scale for the layer attached to "gl").
        Scale            s(gl.X);
 
        // Display the "From" property (the left limit of the X-axis):
        out_double("To = ", s.To);
    }
}

Description

The "X" property - the Scale object representing the X-axis in the layer.

header to Include

origin.h

See Also

Reference