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

Rad Chart - Expand Chart Area remove Legend & Title

5 Answers 363 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Jack Eddowes
Top achievements
Rank 1
Jack Eddowes asked on 16 Oct 2009, 09:06 AM

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.

5 Answers, 1 is accepted

Sort by
0
Jack Eddowes
Top achievements
Rank 1
answered on 16 Oct 2009, 09:09 AM
PS - I am using this version of Rad Controls: RadControls_for_ASP.NET_AJAX_2009_2_701_dev
0
Jack Eddowes
Top achievements
Rank 1
answered on 16 Oct 2009, 09:23 AM
Auto Layout was set to False!

all sorted now!
0
Ashim
Top achievements
Rank 1
answered on 01 Aug 2011, 10:25 PM
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> 
0
Sia
Telerik team
answered on 04 Aug 2011, 02:28 PM
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.

0
Ashim
Top achievements
Rank 1
answered on 05 Aug 2011, 07:03 PM
Thanks , It did work
Tags
Chart (Obsolete)
Asked by
Jack Eddowes
Top achievements
Rank 1
Answers by
Jack Eddowes
Top achievements
Rank 1
Ashim
Top achievements
Rank 1
Sia
Telerik team
Share this question
or