Contents Previous Next


NumTicks Property (BDKAxisDefaults Object)

Description

Sets or returns the number of ticks of the axis. This value is ignored if the AutoScale property is set to TRUE.

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 BDKApp.GraphDefaults.XAxis
    .AutoScale = FALSE
    .Minimum = 0
    .Maximum = 100
    .NumTicks = 10
End With