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

Please consider supporting Quarters in Date Series just like Weeks

2 Answers 182 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Deej
Top achievements
Rank 1
Deej asked on 14 Oct 2013, 11:21 PM
See: http://www.kendoui.com/forums/kendo-ui-dataviz/chart/column-chart-showing-too-many-labels.aspx#csZezjCekEKfhtaq6IxepA

Currently I've got the following code in my chart:
categoryAxis: {
    baseUnit: "fit",
    autoBaseUnitSteps: {
        seconds: [],
        minutes: [],
        hours: [],
        days: [1],
        weeks: [1],
        months: [1,3],
        years: [1]
    },
    maxDateGroups: 36,
    majorGridLines: {
        visible: false
    }
}
However, the date range being used in the chart is dynamic, and sometimes the quarters will be Feb May Aug Oct. It would be a really nasty workaround to force the data into the correct quarters. A quarter is not the same as 3 months in the same way that a week is not the same as 7 days. Kendo automatically lines weeks up on Sundays. Please consider doing something similar for quarters.

Even more useful would be the option to configure which day of the week or which month in the quarter to base the week or quarter on. I might want my week to start on Saturday or Monday.

2 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 16 Oct 2013, 01:06 PM
Hi,

This is a very reasonable feature request. Thank you for taking the time to describe it in detail.
We prioritize our road map based on feedback on our UserVoice portal. Please, feel free to vote for this feature.

As for the last question, you can currently use categoryAxis.weekStartDay to set the first day of the week.

Regards,
T. Tsonev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Deej
Top achievements
Rank 1
answered on 16 Oct 2013, 03:51 PM
Awesome, thanks.
Tags
Charts
Asked by
Deej
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Deej
Top achievements
Rank 1
Share this question
or