Thank you for writing.
It is possible to create a RadGanttView
as in the pictures you attached, however we do not have it out of the box. We have a kb
article explaining in details how a custom GanttViewGraphicalViewElement,
similar to the one in your second picture, can be accomplished. Basically would need to substitute the GanttViewGraphicalViewElement
and for the purpose you would have to create and inherit several classes, here are the kb
and the source code: Indicate Special Days in RadGanttView
Regarding your other question, I think that you refer to the TaskProgressIndicatorElement
. You can change the way it appears as well as the styling of the whole task item by subscribing to the GraphicalViewItemFormatting
event. In the code snippet below I am showing you how this can be achieved:
sender, GanttViewGraphicalViewItemFormattingEventArgs e)
GanttViewTaskItemElement taskItem = e.ItemElement
taskItem.TaskElement.BackColor = Color.Red;
taskItem.TaskElement.BackColor2 = Color.Red;
taskItem.TaskElement.BackColor3 = Color.Red;
taskItem.TaskElement.BackColor4 = Color.Red;
GanttViewTaskElement taskElement = taskItem.TaskElement
taskElement.ProgressIndicatorElement.BackColor = Color.Green;
taskElement.ProgressIndicatorElement.GradientStyle = Telerik.WinControls.GradientStyles.Solid;
I am also sending you a screenshot of the result on my side.
I hope this helps. Should you have further questions please do not hesitate to write back.