You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
```sql task
select
name as Task_id,
creation as created_date,
exp_start_date ,
completed_on,
parent_task
from task
where project like'${inputs.name}'```
Attached example of Gantt chart in x axis i want date/week/month and Y axis task
The text was updated successfully, but these errors were encountered:
You could perhaps use a Mermaid gantt diagram for this in a custom component (somewhat at least, I guess you would have to iterate the data and writeout the element).
Here is a custom component where you can specify the diagram within the tag, but you could modify it to generate the gantt part from data instead.
components/Mermaid.svelte
<!-- Mermaid.svelte -->
<scriptcontext="module">
importmermaidfrom"mermaid";
</script>
<script>
import { onMount, createEventDispatcher } from"svelte";exportlet id;let config = { startOnLoad:true }constdispatch=createEventDispatcher();onMount(() => {if (!id) {thrownewError("The 'id' prop is required for the Mermaid component."); }mermaid.init( config,document.getElementById(`mermaid-container-${id}`) );// Dispatch an event to let the parent component know that the diagram is rendereddispatch("mermaidRendered"); });
</script>
<divid={`mermaid-container-${id}`} class={`mermaid-container-${id} pb-4`} style="display: block; margin: auto; width: 50%;">
<slot />
</div>
Feature Description
query will be like
Attached example of Gantt chart in x axis i want date/week/month and Y axis task
The text was updated successfully, but these errors were encountered: