Change Chart Size after it is plotted....

Thread is closed for posting
2 posts, 0 answers
  1. Abdul
    Abdul avatar
    39 posts
    Member since:
    Oct 2010

    Posted 01 Dec 2010 Link to this post

    once the chart is plotted and after some changes i want to resize the chart from server side, i have tried the following methods


    also tried alot of other techniques

    this is my chart tag...
    <telerik:RadChart ID="chr_kgs" runat="server" Skin="DeepBlue" Visible="true" ChartImageFormat="Jpeg">
            <PlotArea Appearance-FillStyle-MainColor="#003366" XAxis-Appearance-LabelAppearance-FillStyle-FillSettings-ImageDrawMode="Align" Appearance-FillStyle-FillType="Gradient" Appearance-FillStyle-FillSettings-GradientMode="Vertical" Appearance-FillStyle-FillSettings-HatchStyle="BackwardDiagonal" Appearance-FillStyle-SecondColor="#003366" YAxis2-Appearance-MinorGridLines-Visible="True" YAxis2-Appearance-MinorTick-Visible="False" YAxis-Appearance-MinorGridLines-Visible="False" YAxis-Appearance-MinorGridLines-HideWithAxis="True" YAxis-Appearance-MajorTick-Width="1" XAxis-Appearance-MajorGridLines-HideWithAxis="True" XAxis-Appearance-MajorGridLines-Visible="False" XAxis-Appearance-MinorGridLines-Visible="False" XAxis-Appearance-MajorGridLines-Width="0" XAxis-Appearance-MajorTick-Width="1" XAxis-Appearance-MajorGridLines-Color="#003366" XAxis-Appearance-MajorTick-Color="#003366" XAxis-Appearance-MinorGridLines-Color="#003366" XAxis-Appearance-MinorTick-Color="#003366" YAxis-Appearance-MinorGridLines-Color="#003366">
            <Appearance BarWidthPercent="10" Dimensions-AutoSize = false ></Appearance>
  2. Yavor
    Yavor avatar
    401 posts

    Posted 06 Dec 2010 Link to this post

    Hi Abdul,

    RadChart creates an image on the server and sends it to the client so there is no way on the client side to change that size. The solution is to use JavaScript and send requests to the server. Please take a look on this article in our code library. It should answer all your questions.

    Kind regards,
    Yavor Ivanov
    the Telerik team
    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top