We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Gantt histogram view: custom day work time or work label

Thread ID:

Created:

Updated:

Platform:

Replies:

148026 Oct 2,2019 02:11 PM UTC Oct 3,2019 11:11 AM UTC ASP.NET MVC 1
loading
Tags: Gantt
Martin McSharry
Asked On October 2, 2019 02:11 PM UTC

Hi

We are trying to use the histogram view to display the workload for multiple employees in a single row.
We want to be able to have the combined workload of for example 12 employees displayed in a single row, so the max workload needs to be able to be set to 102 hours.


Gurunathan A [Syncfusion]
Replied On October 3, 2019 11:11 AM UTC

Hi Martin, 
  
Greeting from Syncfusion. 
  
We have analyzed your query, In Gantt, resource histogram view, work calculation and rendering of work are based on number working hours per day. We can’t change this value greater than 24, this is calculated based on dayWorkingTime property, we can define working time range only for one day alone, so it can’t be greater than 24 hours. We have tried any possibilities to achieve your requirement in workaround, but can’t make it, because all validation of work are done in source level. If we override any internal properties this will breaks the Gantt behavior. 
  
But we can customize the bar’s in the histogram view by using, queryTaskbarInfo event, using this event we can customize the background color, label color and label values. We have prepared a sample and changed the background of bars based on some condition. And we have updated the label values to current work value with multiplication of 12. Please find the sample link below. 
  
Please let us know, if your need more information on this. 
  
Thanks, 
Gurunathan 

15

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon