Previous Next


ScaleFactorType Property (RDKAxisDefaults Object)

Description

Sets or returns the type of scale factor being used. A scale factor controls the size of the numbers on the axis. For example, if all your results were in millions, instead of having ticks marks reading 1000000, 2000000, 3000000, etc., you could specify the x-axis's ScaleFactorType as RDKScaleFactorMillions to make a graph with x-axis ticks marks of 1,2,3,4,… and a scale factor label of "Values in Millions". Scale factors can be named values, such as "Millions, Billions, Thousandths" or they can be numeric "x 10^-5, x 10^3, etc". To specify a numeric scale factor, you must specify the ScaleFactorType as RDKScaleFactorNumeric and also set the ScaleFactorValue property. If the AutoScale property of the axis is TRUE, this parameter is ignored and the RDK will automatically determine an appropriate scale factor for you.

Syntax

object.ScaleFactorType

Arguments

None.

Return Value

(RDKScaleFactorType) – one of the values:

RDKScaleFactorNone
RDKScaleFactorNumeric
RDKScaleFactorThousands
RDKScaleFactorThousandths
RDKScaleFactorMillions
RDKScaleFactorMillionths
RDKScaleFactorBillions
RDKScaleFactorBillionths

Example

'Make a y-axis scale factor of 10^3:
With RDKApp.GraphDefaults.YAxis
    .AutoScale = False
    .Minimum = 0
    .Maximum = 10000
    .NumTicks = 10
    .ScaleFactorType = RDKScaleFactorNumeric
    .ScaleFactorValue = 3
End With