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

how to change the plot area size

1 Answer 176 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Amey
Top achievements
Rank 1
Amey asked on 29 Feb 2008, 11:22 AM
There are no height and width properties to change the size of the plot area of telerik rad chart? How can we change the size of the plot area?

1 Answer, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 04 Mar 2008, 01:48 PM
Hello Amey,

You can control the size by customizing the margins of the plot area like this:

<telerik:RadChart ID="RadChart1" runat="server"
    <PlotArea> 
        <Appearance Dimensions-Margins="30%,30%,30%,30%"
        </Appearance> 
    </PlotArea> 
    <Series> 
        <telerik:ChartSeries Name="Series 1" Type="Bar" YAxisType="Primary"
            <Appearance> 
                <EmptyValue Mode="Approximation"
                </EmptyValue> 
            </Appearance> 
            <Items> 
                <telerik:ChartSeriesItem Name="Item 1" YValue="4"
                </telerik:ChartSeriesItem> 
                <telerik:ChartSeriesItem Name="Item 2" YValue="2"
                </telerik:ChartSeriesItem> 
            </Items> 
        </telerik:ChartSeries> 
    </Series> 
</telerik:RadChart> 


Hope this helps.


Regards,
Manuel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Chart (Obsolete)
Asked by
Amey
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Share this question
or