Gantt like chart?

4 posts, 1 answers
  1. Tinus
    Tinus avatar
    23 posts
    Member since:
    Jun 2012

    Posted 13 Jun 2012 Link to this post

    I need a bar chart where each bar has a different start and end value.
    Is that supported?

    Regards
    Martin
  2. Todor
    Admin
    Todor avatar
    778 posts

    Posted 15 Jun 2012 Link to this post

    Hello Martin,

    Thank you for your question.

    We don't have an explicit Gantt chart, but you can easily create a chart that looks just like it.
    To achieve that, you can use the BarSeries with CombineMode="Stack". For a start you can have a look at our "Stacked Bar Horizontal" example, which you can find in the "CHART - SERIES" group of our example application. In order to change the place where the bars start you can just change the DataTemplate of the first series to:
    <DataTemplate>
        <Border Background="Transparent"
                BorderBrush="Transparent"
                BorderThickness="2, 2, 2, 2"/>
    </DataTemplate>

    This would make the first series transparent and the next will not be starting with value 0.

    I hope this information helps, let me know if you need additional assistance.

    Kind regards,
    Todor
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Tinus
    Tinus avatar
    23 posts
    Member since:
    Jun 2012

    Posted 15 Jun 2012 Link to this post

    Todor, thanks for for writing.

    Is it possible tio create a chart like that here http://www.homeserversoftware.com/lo/whs2011/help/en/uptime_chart_sub_tab.htm?
    This is using RadChart from WinForms.

    Regards
    Martin
  5. Answer
    Victor
    Admin
    Victor avatar
    1351 posts

    Posted 19 Jun 2012 Link to this post

    Hi Martin,

    Thank you for writing.
    I am afraid that such a complex chart would be too cumbersome to implement with RadChart currently. You will have to insert a lot of dummy series in order to implement the empty space between the bars which also means that whenever you have empty space even between bars of the same type, these bars have to belong to different series. Also the more separate bars of the same type you have the more series and empty series you will need.

    We currently do not have plans to implement a gantt chart, however since you are requesting this type of chart, we will consider implementing it in a future release.
    Thank you for understanding.

    Greetings,
    Victor
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top