I'm using the library com.spire.xls to edit an excel file that I convert to pdf format. In particular, there is a chart with some labels and I'm trying to edit them with the library. This is the code that i'm using:
- Code: Select all
Worksheet sheet = workbook.getWorksheet().get(0);
// an example that shows how i set the text in a label of the graph:
sheet.getCharts().get(0).getPrimaryCategoryAxis().getCategoryLabels().getCellList().get(0).setText("EBT");
When I load the pdf in Angular, the label "EBT" is showed as "..". If I add some white spaces to extend the size of the label, it is showed as "E..". How can I fix this issue?