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

Data is not displayed in correct time location

1 Answer 73 Views
TimeBar
This is a migrated thread and some comments may be shown as answers.
Datafyer
Top achievements
Rank 1
Veteran
Datafyer asked on 09 Jun 2011, 02:24 AM
I am using the TimeBar control to display some data and it seems like the data is being shifted somewhat.
For instance, the data I am loading has the spike at 8 PM on the 21st instead of early on the 22nd.

 

1 Answer, 1 is accepted

Sort by
0
Missing User
answered on 14 Jun 2011, 05:47 AM
Hi Patrick,

Basically, the RadTimeBar does not manage the positioning of the RadSparkLine according to its period range, and you need to do this manually. In order to avoid shifting, you need to set SparkLine XValues for the TimeBar.PeriodStart/End dates, so that the SparkLine start and end will match the TimeBar PeriodStart/End. In the attached file you can find a sample project that demonstrates the described approach.

I hope that this information helps.

Kind regards,
Polina
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
Tags
TimeBar
Asked by
Datafyer
Top achievements
Rank 1
Veteran
Answers by
Missing User
Share this question
or