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

Free Support Forum - aspose.com

Formating percentage in pie chart

Hey Aspose Team,

I use Apose. Slide 15.9.0 on Java. I need to add a customer formating in pie chart label. For example if i have value <1% need to show 0.1%.
I give you simple example on my code.

function formatLabel( IChartDataPoint dataPoint){
// format the data label

IDataLabelFormat format = dataPoint.getLabel().getDataLabelFormat();

format.setShowValue(showDataPointValue);

format.setShowPercentage(showPercentage);

}

Hi,


Thanks for inquiring Aspose.Slides.

I have observed the requirements shared by you and request you to please share the desired output presentation along with working sample code used on your end that you are using to achieve the goal. Before sharing further information, I request you to please also first try using Aspose.Slides for Java 15.11.0 on your end as well.

Many Thanks,