Hi Team,
Could you please share my query to support team because I am not able to find out the support email.
And please add me as well in forwarded email to support team.
Regards,
Uttam Mishra
From: Sales [mailto:sales@aspose.com]
Sent: Tuesday, June 28, 2016 12:59 PM
To: Uttam Kumar Mishra
Subject: RE: Issue with Aspose pdf pie chart
Hi Uttam,
Thank you for your enquiry.
All technical matters are addressed by our Support Team in the forums so please post on the appropriate Product Family forum at https://forum.aspose.com and our Support Team there will be glad to help.
Kind regards,
George.
George Clark
Aspose Sales
Your File Format Experts
Tel +44 141 416 1112
Skype AsposeScotland
Keep in touch! We’re on Twitter and Facebook
From: Uttam Kumar Mishra [mailto:uttam.kumar.mishra@Aonhewitt.com]
Sent: 28 June 2016 08:26
To: Sales sales@aspose.com
Subject: Issue with Aspose pdf pie chart
Hi Team,
I am working with Aspose pdf pie chart and I am facing some issue with pie chart leader line alignment.
Below is my requirement with my pie chart:
But currently I am getting below output with my below c# code:
Issues are with my current output :
-
The height and width not able to perform like above pie chart.
-
The leaderlines are not working properly like above pie chart.
-
The legends are not displaying like above.
And my pie chart code is:
Chart chart = sheet.Charts[chartIndex];
for (int i = 0; i <= chart.NSeries.Count - 1; i++)
{
chart.NSeries[i].IsColorVaried = true;
chart.ShowLegend = false;
DataLabels dataLabels = chart.NSeries[i].DataLabels;
chart.ShowLegend = true;
chart.ChartObject.Height = 300;
chart.ChartObject.Width = 1100;
dataLabels.Height = 3;
dataLabels.ShowCategoryName = false;
dataLabels.ShowPercentage = true;
dataLabels.Position = LabelPositionType.Below;
dataLabels.ShowLegendKey = true;
dataLabels.Separator = DataLablesSeparatorType.Space;
dataLabels.ShowValue = false;
dataLabels.Number = 10;
chart.NSeries[i].HasLeaderLines = false;
chart.NSeries[i].LeaderLines.IsAuto = false;
chart.Calculate();
for (int j = 0; j < chart.NSeries[i].Points.Count; j++)
{
chart.NSeries[i].Points[j].Area.ForegroundColor = columnColors[colorNum];
chart.NSeries[i].Points[j].Border.Color = System.Drawing.Color.FromArgb(255, 255, 255);
if (colorNum == 47)
colorNum = 55;
else
colorNum--;
}
}
Please suggest.
Regards,
Uttam Mishra
This message was posted using Support2Forum.