Incorrect ActualHeight

2 posts, 0 answers
  1. Senthil
    Senthil avatar
    4 posts
    Member since:
    Oct 2011

    Posted 06 Feb 2012 Link to this post

    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).

  2. Giuseppe
    Giuseppe avatar
    2363 posts

    Posted 09 Feb 2012 Link to this post

    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?

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft R3 2016 release webinar banner
Back to Top