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

Free Support Forum - aspose.com

Reg:Text box in chart in 2.5.4.1

Hi,

we are migrating from xls to xlsx,so we have updated the aspose version from 1.9.8 to 2.5.4.1.Currently we are using trial version.On generating excel,The Text box ,plot area is getting altered in the graph... Can u provide us with some work around.

Before saving the text box width is extremly large compared to the saved file.

Following is the code we have used for text box.

int y = ws.getCharts().getChart(0).getPlotArea().getHeight();

int x = ws.getCharts().getChart(0).getPlotArea().getWidth();

int width = (new Double(((5*x)/(info.getMaxSERangeRow()*2)))).intValue();

TextBox yGreenBox = ws.getCharts()

.getChart(0)

.getShapes()

.addTextBoxInChart((x / 2) - width + 310, 250, width, (y / 2);

I have attached the graph genetated in Previous version and current version.

Kindly provide us with the solution as soon as possible.

Thanks & Regards,

Geetha

Hi,


Thanks for your posting and using Aspose.Cells for Java.

Please download latest official version v7.1.0:
Get all the jars in the release archive and include them into classpaths.

Now try the latest version: Aspose.Cells for Java v7.1.0.4

You need to replace your old aspose jar with this one and update your class paths. Also, you need to update or change your existing code in accordance with new APIs in the new version i.e. v7.1.0.

If the problem persists, then please provide us complete runnable sample code/program with v7.1.0.4 to show the issue, we will look into it soon.

Thank you.

plz reply... If this version don t work out we should move to another version.Plz let me know ASAP.. As this is very critical for us..

Thanks & Regards,

Geetha

Hi,


If the latest fix v7.1.0.4 has any issue, we will provide a fix to you.

Thank you.

Hi,

We have aleady tried with latest version.We have posted the issue we obtained regarding opening of workbook-issue no:360290.Kindly provide us with a solution ASAP

Thanks & regards,

Geetha

Hi,

We have fixed your issue mentioned in your other post. We will provide you a fix soon.