Chart.HasAxis showing wrong value

Hi,


It seems that Aspose is giving a different value than Excel for the following code:

Workbook wb = new Workbook(“Test.xlsx”);
var chart = wb.Worksheets.First().Charts.First();
var hasAxis = chart.HasAxis(AxisType.Value, true); // hasAxis == true


When running the following VB code inside Excel:

hasAxis = ActiveChart.HasAxis(Excel.XlAxisType.xlValue, Excel.XlAxisGroup.xlPrimary) // hasAxis == false


Is there something I am doing wrong/missing here?

Thank you

Hi.


Thanks for providing us template file and sample code.

After an initial test, I observed the issue as you mentioned by using your sample code with your template file. I found that Chart.HasAxis is giving wrong value (true in this case instead of false).
e.g
Sample code:

Workbook wb = new Workbook(“Test.xlsx”);
var chart = wb.Worksheets.First().Charts.First();
var hasAxis = chart.HasAxis(AxisType.Value, true); // hasAxis == true

I have logged a ticket with an id “CELLSNET-44559” for your issue. We will look into it soon.

Once we have an update on it, we will let you know here.

Thank you.

Hi,


Please try our latest version/fix: Aspose.Cells for .NET v8.8.3.3 (attached).

We have fixed your issue now.

Let us know your feedback.

Thank you.

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


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