Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2090
Styling of XamGantt
posted

Hello,

I am looking for a way to achieve following setup:

1. Completly hide the grid section including the splitter between Grid and Chart

2. Bind individual colors to each taskbar. Yes, I received an information how to get this done with a DefaultStyle - is there a simpler way? https://es.infragistics.com/community/forums/t/108988.aspx

3. Bind a text and show it above the taskbar or inside the taskbar.

4. Scale the Gantt chart that it shows the whole project: If one project runs for eg. 5 weeks I would like to show months, weeks and days. If another one runs for two years I would like to show only months. At the same time I would like to scale the whole project that i fits into the gantt diagram.

5. What is the motivation to make the property IsVisible on the TimescaleBand not a dependency property that it can be bound?

Thanks

Nikolaus Kern

Parents
  • 1935
    posted

    Hello Nikolaus,

    The grid section including the splitter can be hidden by setting XamGantt's GridWidth to 0.

    Regarding binding individual colors to each taskbar, the only reasonable way is to modify the default style.

    Binding a text and show it above or below a taskbar can also be done by modifying the default style but it might require major changes in the style.

    The top and middle bands have Unit property that can be used for setting different options - Weeks, Years, Months.

    IsVisible gives information if a TimescaleBand is dispalayed or not. A dependency property that's related to IsVisible is the respective TimescaleBandPresenter's Visibility property.

    Please take a look at the attached sample where you can see that only the chart part is displayed and there are comboboxes for setting top and middle bands Unit property.

    Sincerely,
    Martin Bogdanov
    Software Developer

    XamGantt_ChartOnly_TimescaleBandUnit.zip
Reply Children