This question is locked. New answers and comments are not allowed.
fayssal el moufatich
Top achievements
Rank 1
fayssal el moufatich
asked on 16 Sep 2011, 02:26 PM
I am trying to plot a time series. If I pass the list of corresponding dates for the values. Chart will display all the dates, which is rather a mess. Is there an Excel-like behavior where the chart samples only a few dates on the x-axis for display.
Thanks!
Fayssal
Thanks!
Fayssal
7 Answers, 1 is accepted
0
Hello Fayssal,
Tsvetomir Tsonev
the Telerik team
We will add an option to render every n-th label in order to address the more basic scenarios. We also plan to implement a true Date axis for future versions.
Best wishes,Tsvetomir Tsonev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
fayssal el moufatich
Top achievements
Rank 1
answered on 17 Sep 2011, 10:26 PM
It should fine. I have already come up with a workaround for it for now :).
BR,
Fayssal
BR,
Fayssal
0
Devrao
Top achievements
Rank 1
answered on 09 Feb 2012, 10:29 AM
Hi Fayssel
How you figure it out?
Let us know it.I have same issue.
How you figure it out?
Let us know it.I have same issue.
0
Max
Top achievements
Rank 1
answered on 17 Feb 2012, 11:54 PM
Hi Fayssel,Would you mind sharing your findings please?
We are having the same issue too.
Thank you!
Max
We are having the same issue too.
Thank you!
Max
0
Hello,
Another alternative to a true DateTime axis would be to use a scatter chart to emulate it by representing the time as milliseconds. See the attached project for an example.
Regards,
Tsvetomir Tsonev
the Telerik team
The Q1 '12 version of the MVC extensions adds support for a label step property. It allows you to render only every n-th label.
.CategoryAxis(axis => axis
.Categories(s => s.DateString)
.Labels(l => l.Step(2))
)
Tsvetomir Tsonev
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Håvard
Top achievements
Rank 1
answered on 10 May 2012, 09:12 AM
you used this code to format the labels:
.Labels(l => l.Template("${ formatDate(value) }"))
is it possible to do something similar for the series tooltip?
0
Hi,
Regards,
Tsvetomir Tsonev
the Telerik team
Yes, the syntax is almost the same. As this is an XY-chart you need to specify which dimension of the value you need.
.Tooltip(t => t.Visible(true).Template("${ formatDate(value.x) }"))
Regards,
Tsvetomir Tsonev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.