-
Uttam Dhakal
29
posts
Member since:
Jan 2010
Posted 06 Nov 2012
Link to this post
I am building a pie chart totally programatically and displaying in a panel.
My page has a fixed width and the panel have 400px fixed width. rest other are for other elements displayed.
My chart appears very small since i have the label name pretty long. i cant change the label name but i can align it to bottom so that chart appears throughout the whole areas and my labels appear at the bottom.
Is there any way it can be done through Server side code only.
Please refer to the attached picture about the char sturucture
-
-
Brian
14
posts
Member since:
Sep 2012
Posted 06 Nov 2012
Link to this post
Inside your Pie Chart tags, add a legend tag, as follows:
<telerik:RadHTMLChart runat="server" ID="myPieChart">
<Legend>
<Appearance Position="Bottom" />
</Legend>
</telerik:RadHtmlChart>
-
-
Uttam Dhakal
29
posts
Member since:
Jan 2010
Posted 06 Nov 2012
Link to this post
I don't have pie chart tags,
i am dynamically creating pie chart from server side.
how to set that in server side code...
-
-
Answer
Brian
14
posts
Member since:
Sep 2012
Posted 06 Nov 2012
Link to this post
Have you tried:
myPieChart.Legend.Appearance.Position = Telerik.Web.UI.HtmlChart.ChartLegendPosition.Bottom
where "myPieChart" is your actual chart id?
-