Open wanematou opened 2 months ago
Use precision
('day', 'date', 'month', 'year'):
<g-gantt-chart :precision="precision">
...
</g-gantt-chart>
Use timeunit
slot and display the dates however you like with any conditions:
<g-gantt-chart>
<template #timeunit="{label, value}">
...
</template>
</g-gantt-chart>
As explained by @aleqsunder , I'd also recommend customizing the time-axis using the mentioned slots in this case. It would make sense for the library to provide a default rendering for such cases though. We'll see...
when tasks are over long periods, the months on the graph are confused and the graph is unreadable