Scale::Type

ClassName

Scale

AccessType

public

Name

Type

Declaration

int Type

Remark

The "Type" property - the axis type. Possible values are:

LINEAR_SPACE - linear

LOG10_SPACE - logarithm base 10

PROB_SPACE - probability

PROBIT_SPACE - probit

RECIPROCAL_SPACE - reciprocal

OFFSET_RECIP_SPACE - offset reciprocal

LOGIT_SPACE - logit

LOGE_SPACE - natural logarithm

LOG2_SPACE - logarithm base 2

Examples

EX1

void    Scale_Type_ex1()
{
    GraphPage gp;
    gp.Create("origin");
    GraphLayer        gl(gp.GetName(),0);
    
    if (!gl.IsValid())
    {
        out_str("No GraphLayer!");
        return;
    }
    
    // Intialize a Scale object from the Y-axis scale of the GraphLayer
    // (gl.Y is the Y-axis scale for the layer attched to "gl").
    Scale            s(gl.Y);
    
    // Display the "Type" property:
    out_double("Type = ", s.Type);
}

Description

header to Include

origin.h

See Also

Reference