This is a migrated thread and some comments may be shown as answers.

How to set weekStartDay for ScatterLine chart?

3 Answers 13 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Jianxun
Top achievements
Rank 1
Jianxun asked on 19 Aug 2014, 03:06 PM
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.  

3 Answers, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 20 Aug 2014, 07:14 AM
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.

 
0
Jianxun
Top achievements
Rank 1
answered on 21 Aug 2014, 06:26 AM
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.
0
Hristo Germanov
Telerik team
answered on 21 Aug 2014, 12:34 PM
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.

 
Tags
Chart
Asked by
Jianxun
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Jianxun
Top achievements
Rank 1
Share this question
or