Aspose.Cells for Java Setting border not visible on ChartPoint not working

Hi,

I have created a Pie chart and I am able to assign a color to each slice but I want to turn off the border for each slice. Currently setting any Border attribute on a ChartPoint doesn't seem to have any affect. I am using Cells for Java 1.9.5.1

I am doing the following for each ChartPoint. Setting the Foreground Color works great, turning off the Border does nothing.

chtPoints.getChartPoint(i).getArea().setForegroundColor(colorSetting);
chtPoints.getChartPoint(i).getBorder().setVisible(false);

Thanks,

Steve

Hi Steve,

Please try this fix at https://forum.aspose.com/t/84949, thank you.

By the way, for previous versions, please change your code to:

ChartPoint chtPoint = chtPoints.getChartPoint(i);
chtPoint.getArea().setForegroundColor(colorSetting);
chtPoint.getBorder().setVisible(false);

From the new fix, your original codes and the modified codes can both work fine.

Thanks Johnson.

The re-coding worked great for the Aspose version we are currently using. Re-coding at this time saves me from having to quailifying the entire application with a new Apsose Cells

Steve.