Hi Guys,
I am developing some reports using RadHTMLChart and have few issues with layout. While using a Donut series the chart renders and clips some labels. I have attached screenshot of the chart , In that the top and the right side labels are clipped.
I tried increasing the chart height to fix top label but that changed the whole div height and the Donut series height as well which screwed up the total layout. Is there any way we can make the chart to render without clipping the labels.
I have also attached a screenshot of what happens when chart height is increased.
Following are the codes I am using to do this.
<telerik:RadHtmlChart ID="chartDonut" runat="server" Width="450" Height="220" Transitions="true" OnClientSeriesClicked="OnSeriesClicked" Legend-Appearance-Visible ="false" >
<PlotArea>
<Series>
<telerik:DonutSeries DataFieldY="ValueField" ColorField="ColorField" ExplodeField ="Exploded"
StartAngle="10" HoleSize ="50" NameField="Name" >
<LabelsAppearance Visible="true" Position="Column" ClientTemplate="#=dataItem.Name# #=dataItem.ValueField#%">
</LabelsAppearance>
<TooltipsAppearance DataFormatString="{0}%" BackgroundColor="White" Visible="false"></TooltipsAppearance>
</telerik:DonutSeries>
</Series>
</PlotArea>
</telerik:RadHtmlChart>
It will be great if someone can help me to solve this.
Thanks,
Rahul
I am developing some reports using RadHTMLChart and have few issues with layout. While using a Donut series the chart renders and clips some labels. I have attached screenshot of the chart , In that the top and the right side labels are clipped.
I tried increasing the chart height to fix top label but that changed the whole div height and the Donut series height as well which screwed up the total layout. Is there any way we can make the chart to render without clipping the labels.
I have also attached a screenshot of what happens when chart height is increased.
Following are the codes I am using to do this.
<telerik:RadHtmlChart ID="chartDonut" runat="server" Width="450" Height="220" Transitions="true" OnClientSeriesClicked="OnSeriesClicked" Legend-Appearance-Visible ="false" >
<PlotArea>
<Series>
<telerik:DonutSeries DataFieldY="ValueField" ColorField="ColorField" ExplodeField ="Exploded"
StartAngle="10" HoleSize ="50" NameField="Name" >
<LabelsAppearance Visible="true" Position="Column" ClientTemplate="#=dataItem.Name# #=dataItem.ValueField#%">
</LabelsAppearance>
<TooltipsAppearance DataFormatString="{0}%" BackgroundColor="White" Visible="false"></TooltipsAppearance>
</telerik:DonutSeries>
</Series>
</PlotArea>
</telerik:RadHtmlChart>
It will be great if someone can help me to solve this.
Thanks,
Rahul