JavaScript API Reference/Ab.timeline.Model object

getColumnNumber()

Returns the number of time-mark columns in the timeline. For example, if the timeline display starts at 8:00 AM and end at 17:00 PM, and there are 4 timeslots per hour (15 minute time-slot), then there will be (17 – 8) * 4 = 36 time-mark columns.

Parameters: none