zoomLevels examples or more details on how to implement?
labs20 opened this issue · comments
Hi.
I couldnt find any examples or detailed documentation about zoomLevels.
Can you please point me to some more content about it?
Thanks
Hey, there is a discribtion of accepted arguments in the docs.
Defaults from Gantt.svelte:
export let zoomLevels = [ { headers: [ { unit: 'day', format: 'DD.MM.YYYY' }, { unit: 'hour', format: 'HH' } ], minWidth: 800, fitWidth: true }, { headers: [ { unit: 'hour', format: 'ddd D/M, H A' }, { unit: 'minute', format: 'mm', offset: 15 } ], minWidth: 5000, fitWidth: false } ];
I'm closing this
Ok.
I'd suggest to pick this code from that file and add it to the documentation section, as its hard to find it where it is now.
Thanks