AjaxToolkit Version: 4.1.7.123
Using IE9.
When populating the PieChart via code if a segment covers more than approx 50% then it isn't displayed correctly.
Code:
string[] surveyItems = new string[3] { "Yes", "No", "Don't Know" };
int[] surveyAnswers = new int[3] { 1, 5, 1 };
for (int i = 0; i < 3; i++)
{
PieChartValue pcv = new PieChartValue();
pcv.Category = surveyItems[i].ToString();
pcv.Data = surveyAnswers[i];
PieChart1.PieChartValues.Add(pcv);
}
This issue can also be replicated by 'hardcoding' the values in the aspx page.
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager>
<asp:PieChart ID="PieChart1" runat="server">
<PieChartValues>
<asp:PieChartValue Category="Yes" Data="1" PieChartValueColor=""
PieChartValueStrokeColor="" />
<asp:PieChartValue Category="No" Data="5" PieChartValueColor=""
PieChartValueStrokeColor="" />
<asp:PieChartValue Category="Don't Know" Data="1" PieChartValueColor=""
PieChartValueStrokeColor="" />
</PieChartValues>
</asp:PieChart>
Comments: [Here](https://ajaxcontroltoolkit.codeplex.com/SourceControl/network/forks/GiorgioAresu/FixPieChart/contribution/8300)'s the pull request. Waiting for approval, should fix the problem once and for all.
Using IE9.
When populating the PieChart via code if a segment covers more than approx 50% then it isn't displayed correctly.
Code:
string[] surveyItems = new string[3] { "Yes", "No", "Don't Know" };
int[] surveyAnswers = new int[3] { 1, 5, 1 };
for (int i = 0; i < 3; i++)
{
PieChartValue pcv = new PieChartValue();
pcv.Category = surveyItems[i].ToString();
pcv.Data = surveyAnswers[i];
PieChart1.PieChartValues.Add(pcv);
}
This issue can also be replicated by 'hardcoding' the values in the aspx page.
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager>
<asp:PieChart ID="PieChart1" runat="server">
<PieChartValues>
<asp:PieChartValue Category="Yes" Data="1" PieChartValueColor=""
PieChartValueStrokeColor="" />
<asp:PieChartValue Category="No" Data="5" PieChartValueColor=""
PieChartValueStrokeColor="" />
<asp:PieChartValue Category="Don't Know" Data="1" PieChartValueColor=""
PieChartValueStrokeColor="" />
</PieChartValues>
</asp:PieChart>
Comments: [Here](https://ajaxcontroltoolkit.codeplex.com/SourceControl/network/forks/GiorgioAresu/FixPieChart/contribution/8300)'s the pull request. Waiting for approval, should fix the problem once and for all.