Rad Chart - Expand Chart Area remove Legend & Title

Thread is closed for posting
6 posts, 0 answers
  1. Jack Eddowes
    Jack Eddowes avatar
    3 posts
    Member since:
    Oct 2009

    Posted 16 Oct 2009 Link to this post

    Hi Guys

    I am using the Chart control to display some dashboard summary data. The page area I have is not that large, so I need to maximise its use!

    Issue: I want to remove the title and legend and stretch out the chart size and utilise the title and legend area!

    Now I have removed the Chart title (set visible to false) and tried a number of settings on the Legend - (set visible to false, changed the legend position etc), although when I remove the title and legend, the space on the top for the title and on the right side for the legend is not utilised for chart I am displaying. I have also tried increasing the width and height of the chart, but again this increases the total canvas size and we are still left with the blank space on the top and right. I either need to be able to reduce the size of the canvas the chart sits on, or increase the chart size utilising the blank space on the right and top of the chart.

    Can this be done?

    I have attached an image of my graph for reference, and coloured blue the area I need to utilise.

  2. Jack Eddowes
    Jack Eddowes avatar
    3 posts
    Member since:
    Oct 2009

    Posted 16 Oct 2009 Link to this post

    PS - I am using this version of Rad Controls: RadControls_for_ASP.NET_AJAX_2009_2_701_dev
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jack Eddowes
    Jack Eddowes avatar
    3 posts
    Member since:
    Oct 2009

    Posted 16 Oct 2009 Link to this post

    Auto Layout was set to False!

    all sorted now!
  5. Ashim
    Ashim avatar
    17 posts
    Member since:
    Nov 2010

    Posted 01 Aug 2011 Link to this post

    i have same problem i need to remove the Legend Area i need more space , with Legend-Visible="False" stiill i'm loosing space in right side of the Chart


            <telerik:RadChart ID="RadChart4" runat="server" DefaultType="Line" Skin="Metal" DataSourceID="LinqDataSource_CHART4"
                Width="445px" Legend-Visible="False" AutoLayout="false">
                <Appearance Corners="Round, Round, Round, Round, 10">


                </Appearance>
                <Legend>
                    <Appearance Visible="False" Position-AlignedPosition="TopRight" Dimensions-Margins="0px, 10px, 1px, 1px">
                    </Appearance>
                </Legend>
                <ChartTitle>
                    <TextBlock Text="Vacant Unit Count2">
                        <Appearance TextProperties-Font="Arial, 16pt">
                        </Appearance>
                    </TextBlock>
                </ChartTitle>
                <PlotArea>
                    <XAxis DataLabelsColumn="Date">


                    </XAxis>
                    <YAxis>


                    </YAxis>
                </PlotArea>
            </telerik:RadChart> 
  6. Sia
    Admin
    Sia avatar
    667 posts

    Posted 04 Aug 2011 Link to this post

    Hello Ashim,

    Please try to set the RadChart's AutoLayout property to be True and let us know whether this helps.

    Greetings,
    Sia
    the Telerik team

    Browse the vast support resources we have to jump start 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.

  7. Ashim
    Ashim avatar
    17 posts
    Member since:
    Nov 2010

    Posted 05 Aug 2011 Link to this post

    Thanks , It did work
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017