Previous Next


NumTicks Property (RDKAxisDefaults Object)

Description

Sets or returns the number of ticks on the axis. This value is ignored if the AutoScale property is set to TRUE. This setting is ignored for the x-axis of summary graphs and the y-axis of tornado graphs.

Syntax

object.NumTicks

Arguments

None.

Return Value

(Integer) – the number of ticks.

Example

'Force the x-axis axis to run between 0 and 100 with 10 ticks:
With RDKApp.GraphDefaults.XAxis
    .AutoScale = FALSE
    .Minimum = 0
    .Maximum = 100
    .NumTicks = 10
End With