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
1300
The time Scale binds in gantt chartshow wrong month name
posted

hi ,

i am using the Gantt Chart Control in one of my wpf application page for my requirement i want to show the time scale binding like as follows

[Month(3 letters)] [day(2 letter)],[Years(2 letters)] like (May 15 ,13) format is appearing correctly but instead of showing the March it showing April

please check the attached image for more clarification

for this format  i had used the following code block please review and let me know the what is the problem in my code

<ig:ProjectViewSettings IsSlackVisible="False" >

<ig:ProjectViewSettings.Timescale>
<ig:Timescale >
<ig:TimescaleBand Unit="Weeks" DisplayFormat="{}{m:3} dd,yy" HorizontalAlignment="Right"></ig:TimescaleBand>
<ig:TimescaleBand Unit="Days" IsVisible="True" DisplayFormat="{}{d:1}" />
</ig:Timescale>
</ig:ProjectViewSettings.Timescale>

is there any possibility to show only date part in the start and finish column in the grid (format setting for the datetime )

  • 54937
    Offline posted

    This sounds like a bug. For now you can probably just use "MMM" for the abbreviated name of the month which is typically 3 characters. See the ms docs here for all the available datetime format string characters.