Free Support Forum - aspose.com

Position the label below negative values

Hi

I would like to position the label below the chart when there are negative values.
You can see in the following example that Point4 and red bar are overlapping.
How can I position the points labels below the chart? (see attachments)
I tried ch.CategoryAxis.Position = AxisPositionType.Bottom but it doesn't work;

Example Code :

PresentationEx ppt = new PresentationEx();

SlideEx sld = ppt.Slides[0];

ChartEx ch = sld.Shapes.AddChart(ChartTypeEx.ClusteredColumn, 20, 20, 500, 300);

ChartDataCellFactory fact = ch.ChartData.ChartDataCellFactory;

ch.ChartData.Series.Clear();

ch.ChartData.Categories.Clear();

int[] values = new int[] { 0, 4, 3, 4, -2, 6 };

ch.ChartData.Series.Add(fact.GetCell(0, 0, 1, "Values"), ch.Type);

ChartSeriesEx series1 = ch.ChartData.Series[0];

series1.Format.Line.FillFormat.FillType = FillTypeEx.Solid;

series1.Format.Line.FillFormat.SolidFillColor.Color = Color.Red;

series1.Format.Fill.FillType = FillTypeEx.Solid;

series1.Format.Fill.SolidFillColor.Color = Color.Red;

for (int i = 1; i < 6; i++)

series1.Values.Add(fact.GetCell(0, i, 1, values[i]));

for (int i = 1; i < 6; i++)

ch.ChartData.Categories.Add(fact.GetCell(0, i, 0, "point " + i));

ch.CategoryAxis.Position = AxisPositionType.Bottom;

ppt.Save(@"D:\\simpleChart1.pptx", Aspose.Slides.Export.SaveFormat.Pptx);

Hi,


I have worked over the requirements shared by you and regret to share that currently the feature of adjusting the category axis position is unavailable in Aspose.Slides. I have created an issue with ID SLIDESNET-33598 in our issue tracking system so that our development team will further investigate and resolve the issue. I will share the further information with you as soon as it will be shared by our development team.

We are sorry for your inconvenience,

Any update on this issue?

Is there an estimate when this will be released?

Regards,
Moshe

Hi Moshe,


I have verified from our issue tracking system and regret to share that issue has not yet been scheduled for investigation till yet owing to already pending and dependent issues blocking the resolution of your issue. As soon as the dependent blocking issues will be resolved, we will be be obliged to schedule and resolve your issue.

We are sorry for your inconvenience,

The issues you have found earlier (filed as SLIDESNET-33598) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.