I am looking for setting the zoom levels in my code for fortnight scale
Fortnightly Zoom settings – Ist Level : Year;2nd level : Month;3rd level : Fortnight (1-15 , 16 to end of month).Basically in 3rd level i am looking to have only 2 partition 1-15 of the month then 16 to end of the month.Also the 1-15 should align with start of month and 16-end of month should align to end of month and also if i export to MS Project/Excel it should be exported as is.
initZoom() {
gantt.ext.zoom.init({
levels: [
{
name: 'Months',
scale_height: 60,
min_column_width: 70,
scales: [
{ unit: "month", step: 1, format: '%F' },
]
},
{
name: 'Fortnight',
scale_height: 60,
min_column_width: 70,
scales: [
// HERE I NEED MY CODE LOGIC
]
},
}