cancel
Showing results for 
Search instead for 
Did you mean: 
intapiuser
Community Team Member
Community Team Member
People love to see their schedules. So a Gantt Chart can be a great addition to a dashboard to offer context. Here is a Parameterized Snippet and set of toggles to get a Gantt Chart going with little effort.
Base: Bar Chart
 
Toggles:
  • Horizontal Bar Chart
  • Y-axes: start_length, duration
  • start_length series color: #f5f6f7
  • Tooltips: start_date, end_date
 
Name: gantt_chart(table,phase,start_date,end_date,order)
select
  [phase]
  , [start_date]
  , [end_date]
  , datediff(day, first_date, [start_date]) as start_length
  , datediff(day, [start_date], [end_date]) as duration
from [table],
(select
  min([start_date]) first_date
from
  [table]) as first_date
order by [order]
Screenshot with tooltip:
Version history
Last update:
‎02-05-2024 12:28 PM
Updated by:
Contributors
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email [email protected]

Share this page: