Chart Image Margins

Thread is closed for posting
2 posts, 0 answers
  1. Craig
    Craig avatar
    24 posts
    Member since:
    Aug 2006

    Posted 13 Dec 2011 Link to this post

    Is there a way to have the chart image fill the image?

    I have set the margins and padding to 0px but I am still getting a lot of white space around the image. It's creating too much of a gap between the list of charts.

    Bellow is my chart markup and attached is the image.

    <telerik:RadChart ID="RadChart2" runat="server" DefaultType="Pie" OnItemDataBound="RadChart2_ItemDataBound"
    DataSourceID="SqlDataSourceBusArea" Skin="Office2007" IntelligentLabelsEnabled="True"
    AutoLayout="True" Height="275px" >
    <Border Visible="False"></Border>
    <telerik:ChartSeries Name="sum_area" Type="Pie" DataYColumn="bu_area" DefaultLabelValue="#Y{N0} (#%)">
    <Appearance ShowLabels="true" LegendDisplayMode="ItemLabels">
    <FillStyle MainColor="69, 115, 167" FillType="Solid">
    <TextAppearance TextProperties-Color="Black" TextProperties-Font="Arial, 9pt">
    <Border Color="69, 115, 167"></Border>
    <Appearance Dimensions-Margins="0px, 0px, 0px, 0px" Dimensions-Paddings="0px, 10px, 0px, 3px"
    Dimensions-AutoSize="True" Dimensions-Height="165px" Dimensions-Width="85px">
    <ItemTextAppearance TextProperties-Color="Black" AutoTextWrap="False">
    <ItemMarkerAppearance Figure="Square">
    <Border Visible="false" />
    <Appearance Dimensions-Margins="0px, 0px, 0px, 0px" SeriesPalette="Vista" Dimensions-Height="275px"
    Dimensions-Paddings="0px, 0px, 0px, 0px">
    <FillStyle MainColor="" FillType="Solid">
    <Border Visible="False" />
    <ChartTitle Visible="false">
    <Appearance Visible="false"></Appearance>
  2. Evgenia
    Evgenia avatar
    1437 posts

    Posted 16 Dec 2011 Link to this post

    Hello Craig,

    Since you have a Pie Chart, you may use the DiameterScale property to increase the size of the Pie. This is described in our help topic.

    the Telerik team
    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 their blog feed now
Back to Top