AnyChart
API Reference
Still have questions?
Contact support
Top

{typedef} anychart.core.gantt.Calendar.Holiday Improve this Doc

Holiday info type definition.
'day'-field is a day of month, 'month' is a number of month in year (see fields description below).
If 'year'-field is defined, it means exact-date holiday.
If 'year'-field is not set, it means yearly holiday.
NameTypeDescription
daynumberNumber of day in month.
labelstring | undefinedCustom label for holiday. Is optional and is not used in any visual appearance in current implementation.
monthnumberNumber of month in year. By UTC-specification, 0 is January, 11 is December.
yearnumber | undefinedNumber of year. See typedef description.