How to set weekStartDay for ScatterLine chart?

4 posts, 0 answers
  1. Jianxun
    Jianxun avatar
    28 posts
    Member since:
    Dec 2013

    Posted 19 Aug 2014 Link to this post

    for ScatterLine chart, if the baseUnit is "weeks", how could I set the seekStartDay to Monday?  I try 
                 xAxis:{
                    baseUnit:"weeks",
                    min: new Date('2014-01-25'),
                    weekStartDay:1
                  },

    But it did not work for ScatterLine chart.  The start day is always Sunday.  
  2. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 20 Aug 2014 Link to this post

    Hello Jianxun,

    This property works only for the category axis and it is not supported for x/y axes. If you want to change the weekStartDay you need to set the minimum of the axis to be this date.

    Regards,
    Hristo Germanov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Jianxun
    Jianxun avatar
    28 posts
    Member since:
    Dec 2013

    Posted 21 Aug 2014 in reply to Hristo Germanov Link to this post

    I don't think set the minimum of xaxis can work. http://dojo.telerik.com/AmakO  as this demo I set the Mini date to be "2011-01-31", but the start day is still a Sunday.
  5. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 21 Aug 2014 Link to this post

    Hi Jianxun,

    You are right there is no possible workaround in this case. We will definitely fix this issue with our future releases.

    I have updated your telerik points.

    Regards,
    Hristo Germanov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
UI for ASP.NET MVC is VS 2017 Ready