發問發問
 

已答覆Set Firstweekday

  • 2009年7月2日 上午 09:52Mário Barros 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Hello Guys,

    I am using the Microsoft Chart Controls. And I'm now trying the DataManipulator to group data by week from one graph to another.

    Example
    StackedFootFall.DataManipulator.Group(formula, 1, IntervalType.Weeks, "FootFall", "Grouped FootFall");

    The problem is: I want to change the FirstWeekday but I don't now how to do it. I've tried to change in the Culture setting, but nothing changes. The data is groupe weekly, yes, but considering the week is starting sunday and not monday as I want.

    Please Help!
    Thanks,

解答

  • 2009年7月3日 上午 11:05Mário Barros 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    Got IT!!!

    Have a look at the property intervalOffsetType and IntervalOffset. Not a very obvious and/or great way of implementing this by Dundas/Micrsoft.

    It works though.

    Mário

所有回覆

  • 2009年7月3日 上午 11:05Mário Barros 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    Got IT!!!

    Have a look at the property intervalOffsetType and IntervalOffset. Not a very obvious and/or great way of implementing this by Dundas/Micrsoft.

    It works though.

    Mário