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

RadColumnSparkline Visibility/Alignment not coming if more than 2 year

3 Answers 148 Views
TimeBar
This is a migrated thread and some comments may be shown as answers.
Balaji
Top achievements
Rank 1
Balaji asked on 07 Dec 2011, 04:03 PM
Hi , 
 We are using Q1 2011 version of RAD silver light controls.
 
We used this COntrol inside the Timebar control and provide the required Data as

Time Bar - Period start and End date(Jan-1-2009 to Jan-1-2012)
Time Bar - VisiblePeriod start and End date(Jan-1-2009 to Jan-1-2012)


Provided the item source for RadColumnSparkline List of Name and Value for binding for all the dates from Start to end. 
eg. My values will be 0 or 1 , so i have set 1 to First of every month(Jan , Feb etc for all the 3 yrs) and rest of the values as 0. 
I.e [Only one day in month will be having the value as 1 all the others will be zero]

But in the initial load , the column sparkline is not visible, with the same data if i zoom in then the sparkline is visible.
Also if i set 1 to 2nd of every month , then the same is visible?

Is it because of the older version we are using.



Thanks 
B.Balaji

3 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 12 Dec 2011, 10:30 AM
Hi Balaji,

We created a small demo application using the details you shared and the sparkline loads as expected. The application was tested with Q1 2011 and Q3 2011 libraries and it works as expected in both. I have attached the source code of this test application so that you can test it in your environment.

Regards,
Yavor
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Balaji
Top achievements
Rank 1
answered on 17 Dec 2011, 06:55 AM
Hi,

I ran the sample code and i am not able to see the sparkline. i hav attached the Screen shot(Screen shot1) which i ran in my machine.
Is it because of Brower Verion(IE.7.0) or the screen resolution or screen size.

Also when i resize(i mean Zoom in ) using the Rad silder, teh spark line missing in someothe month.Please see screenShot2(Same data , but just zoomed in)

Thansk in advance.

B.Balaji

0
Yavor
Telerik team
answered on 21 Dec 2011, 11:51 AM
Hi Balaji,

One possible reason why each bar differs in size is because they get too shallow (~1.* pixels) and the framework starts rounding them to +- 1 pixel. If you stretch the timebar you will observe that the bars will become wider and no bars are missing, but again the system tries to round them.

You can try making the visible period smaller initially (perhaps a month). Another option could be to reduce the shown interval or increase the unit on which you show the bars from day to month for example.

All the best,
Yavor
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
TimeBar
Asked by
Balaji
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Balaji
Top achievements
Rank 1
Share this question
or