We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Line in Chart Area


I need to add a line in the chart area with some specific points.

I tried to do it manually in PPT. When i add it in PPT and moves chart area it moves along with chart area. But when i add it using Aspose API it is not moving along chart area.

Can you please let me know how can i add the Line same as PPT using Aspose API.

I am attaching screen shot and PPT file for the reference.



Hi Amit,

I have observe the requirement shared and like to share that it is a missing feature in Aspose.Slides. I have created an issue with ID SLIDESNET-34526 as new feature request to further investigate the possibility of implementing the desired feature. This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,

Hi Amit,

I suggest you to please
try using below sample code on your end in order to add line or other
autoshapes along with chart. You can try exploring the feature IChart.UserShape to serve the purpose on your end.

//add line into chart with relative coordinates (80,0) and height 100
chart.UserShapes.Shapes.AddAutoShape(ShapeType.Line, 80, 0, 0, 100);

I hope the shared information will be helpful.

Many Thanks,

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

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