BeginArrowheadStyle

Dears,

This is my code im getting error in ("chart.ValueAxis.Format.Line.BeginArrowheadStyle = LineArrowheadStyleEx.Triangle;")

PresentationEx pres = new PresentationEx();
SlideEx sld = pres.Slides[0];
ChartEx chart = sld.Shapes.AddChart(ChartTypeEx.ScatterWithMarkers, 50, 0, 600, 500);
chart.ChartData.Series.Clear();
chart.ChartData.Categories.Clear();
int defaultWorksheetIndex = 0;
ChartDataCellFactory fact = chart.ChartData.ChartDataCellFactory;
chart.ValueAxis.Format.Line.BeginArrowheadStyle = LineArrowheadStyleEx.Triangle;

The error is Object reference not set to an instance of an object. Null reference Exception,so can you please provide me with a solution ,by the way im using Aspose.Slides Version 7.0.0.0
Regards ,
Kamel

Hi Kamel,


I have worked with the scenario shared by you and have been able to reproduce the issue specified. An issue with ID SLIDESNET-33932 has been created in our issue tracking system to further investigate and resolve the issue. 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,

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


This message was posted using Notification2Forum from Downloads module by aspose.notifier.