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 BDKScaleFactorMillions 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 BDKScaleFactorNumeric and also set the ScaleFactorValue property. If the AutoScale property of the axis is TRUE, this parameter is ignored and the BDK will automatically determine an appropriate scale factor for you.
Syntax
object.ScaleFactorType
Arguments
None.
Return Value
(BDKScaleFactorType) – one of the values:
| BDKScaleFactorNone |
| BDKScaleFactorNumeric |
| BDKScaleFactorThousands |
| BDKScaleFactorThousandths |
| BDKScaleFactorMillions |
| BDKScaleFactorMillionths |
| BDKScaleFactorBillions |
| BDKScaleFactorBillionths |
Example
'Make a y-axis scale factor of 10^3:
With BDKApp.GraphDefaults.YAxis
.AutoScale = False
.Minimum = 0
.Maximum = 10000
.NumTicks = 10
.ScaleFactorType = BDKScaleFactorNumeric
.ScaleFactorValue = 3
End With