![]() Sheet.getCellRange("B2").setNumberValue(851000) Sheet.getCellRange("B1").setValue("Sales volume") Sheet.getCellRange("A5").setValue("Qtr 4") Sheet.getCellRange("A4").setValue("Qtr 3") Sheet.getCellRange("A3").setValue("Qtr 2") Sheet.getCellRange("A2").setValue("Qtr 1") Sheet.getCellRange("A1").setValue("Quarter") Worksheet sheet = workbook.getWorksheets().get(0) Method 2: If you are creating a Maven project, you can easily add the jar dependency by adding the following configurations to the pom.xml. Import the jar file in your project as a dependency. ![]() Method 1: Download Free Spire.XLS for Java pack, unzip it and you’ll get file from the “lib” folder. In this article, I’ll show you how to create pie charts using Free Spire.XLS for Java. Pie chart is the most commonly used chart to show the percentage composition. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |