CalendarOptions
Calendar options defines the epoch, initial display Scale and Offset, as well as marker lines
It has the following elements:
- Origin is the epoch of the calendar, expressed in days since 1899-12-30 at 00:00:00 (25569 days before the POSIX epoch).
- Scale is the display Scale expressed in pixels by day.
- Markers is an optional array of time marker lines.
Each line is an array of two elements: its time in minutes since the origin and an HTML5 color string. - TimeLimit is an optional time limit (in minutes) used for Inc/Dec type Workloads, default value is one year.
If MarkerLines is not specified, then a line of the OriginLineColor color (see Style) is automatically used to denote the Origin. This is thus equivalent to having "Markers": [ { "Time": 360, "Color": "#F00" } ].
Origin also accepts the special value "Now", which corresponds to the date the scheduler is opened in the browser. This value is only useful for demonstrations and theoretical problems where the actual dates are not meaningful.