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

X-Axis date range longer than 4 years

1 Answer 36 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Cameron
Top achievements
Rank 1
Cameron asked on 11 May 2012, 03:44 AM
Hi,

My case is this:
AxisX -> IsDateTime = true
             AutoRange = false
             LayoutMode = AxisLayoutMode.Auto
             Step = 1
             No horizontal scroll bar.
We manually set axis min and max values. We also iterate through all tick points to set labels for each.

The problem is that when the date range is longer than four years then suddenly TickPoints count drops to 2 and labels don't appear on X axis. This seems like a bug or perhaps another parameter should be set differently.
To fix that the value of Step is incremented for every additional 4 years. The expected labels appear at set Step intervals but NOT for every point in the chart.
This is a temporary workaround and we'd like a solution where for every point in the chart a label on X axis is displayed.

Thank you,

Cameron 

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 15 May 2012, 11:40 AM
Hello Cameron,

Could you, please, open a support ticket and send us a sample application which reproduces this behavior, as we haven't been able to reproduce it in out local tests, perhaps we are missing some of the details of your scenario.

Greetings,
Nikolay
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
Chart
Asked by
Cameron
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or