Apparance

4 posts, 1 answers
  1. Christian Pardun
    Christian Pardun avatar
    112 posts
    Member since:
    May 2010

    Posted 12 Sep 2013 Link to this post

    Dear telerik-Team

    first off all you make a brilliant job!

    I use the HtmlChart and try to format the chart using percent for height and width. After render the chart it is shown in the right dimensions but if I resize the browser window (smaller/bigger) the chart doesn't scale with the browser window size. 

    Isn't possible or something wrong?

    Kind regards,
    Chrisitan

  2. Christian Pardun
    Christian Pardun avatar
    112 posts
    Member since:
    May 2010

    Posted 15 Sep 2013 Link to this post


    I found a suitable solution by repaint the chart if the browser window is resized.

    $(window).resize
    (
        function()
        {
            var chart = $find('<%= this.Chart.ClientID %>');
            chart.repaint();
        }
    );
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Answer
    Stamo Gochev
    Admin
    Stamo Gochev avatar
    157 posts

    Posted 16 Sep 2013 Link to this post

    Hi,

    I am glad that you have managed to deal with the case. The following forum thread might be very helpful to you as it gives additional information on setting RadHtmlChart's dimensions in percentages and scaling  the chart on window's resizing.

    Regards,
    Stamo Gochev
    Telerik
    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 RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  5. Christian Pardun
    Christian Pardun avatar
    112 posts
    Member since:
    May 2010

    Posted 16 Sep 2013 Link to this post

    Hi again,

    Thanks for additional link! I will review it.

    Kind regards,
    Christian
Back to Top