This is a migrated thread and some comments may be shown as answers.

[Solved] using gantt chart for projects

5 Answers 167 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Justin
Top achievements
Rank 1
Justin asked on 02 May 2008, 08:49 PM
I want to use a gantt chart for scheduling projects in my company.  I would like to have a completion percentage represented graphically for each item in my gantt chart.  is it possible?

here is an example of what i am looking for

http://www.dundas.com/Gallery/Chart/NET/index.aspx?Img=GanttFlash

5 Answers, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 07 May 2008, 07:32 AM
Hi Justin,

RadChart does not support this functionality out of the box. You can, however, simulate this behavior easily by adding a second series to display percentage. What is you need to do is overlay a second gantt series on top the the original, and change its appearance to look thinner like in the example you have provided. You can then adjust the length of the percentage bars to achieve a correct representation of the data.

All the best,
Vladimir Milev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
aman
Top achievements
Rank 1
answered on 12 May 2008, 07:30 AM
Hi,

I will be glad if some example on this is provided, as i found no property to overlay the second series on the orignal one.
plz help
0
Ves
Telerik team
answered on 12 May 2008, 01:03 PM
Hi aman,

The series are placed consecutively on the plot area, so the second series will appear over the first one, the third will be over the second one and so on. So you can set BarOverlapPercent property to 100, so that the two bars overlap completely and set BarWidthPercent appearance property to control each series bars width. Here is an example:

<telerik:RadChart ID="RadChart1" runat='server' SeriesOrientation="Horizontal"
            <Appearance BarOverlapPercent="100"
            </Appearance> 
            <Series> 
                <telerik:ChartSeries Name="Series 1" Type="Gantt" DefaultLabelValue=" "
                    <Appearance BarWidthPercent="70"
                    </Appearance> 
                    <Items> 
                        <telerik:ChartSeriesItem Name="Item 1" XValue="1" YValue="2" YValue2="5"
                        </telerik:ChartSeriesItem> 
                        ... 
                    </Items> 
                </telerik:ChartSeries> 
                <telerik:ChartSeries Name="Series 2" Type="Gantt" DefaultLabelValue=" "
                    <Appearance BarWidthPercent="20"
                    </Appearance> 
                    <Items> 

The second series is displayed over the first one, so it should hold the smaller value for width. I hope this helps.

Kind regards,
Ves
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
aman
Top achievements
Rank 1
answered on 13 May 2008, 01:05 PM
Have tried
<Appearance BarOverlapPercent="100"
and <Appearance BarWidthPercent="70">  .........
as you have mentioned, but still the two series are not overlaping.
0
Ves
Telerik team
answered on 15 May 2008, 07:48 AM
Hi aman,

Please, find attached a sample, showing this. I hope it helps.

Greetings,
Ves
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Chart (Obsolete)
Asked by
Justin
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
aman
Top achievements
Rank 1
Ves
Telerik team
Share this question
or