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

Incorrect ActualHeight

1 Answer 71 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Senthil
Top achievements
Rank 1
Senthil asked on 06 Feb 2012, 07:37 PM
I'm trying to get the actualheight of my chart control but it won't return the correct value. The value returned from the code is 298 for ActualHeight, but when I measured the height using MSPaint it was 375px approximately.
How do I get the correct value? I need to set the chart width based on height value ( 1: 1 ratio for height and width).

1 Answer, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 09 Feb 2012, 04:00 PM
Hello Senthil,

We are unsure what might be causing the difference but RadChart.ActualHeight returns the correct result in our local tests (with browser zoom set to 100%). Could you elaborate a bit more on your scenario -- if you replace the chart control with another standard MS Silverlight control, does its ActualHeight behave any different?


Regards,
Giuseppe
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
ChartView
Asked by
Senthil
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Share this question
or