GrapeCity Documents for Excel, Java Edition (GcExcel Java) is a high-speed, feature-rich Excel document API based on VSTO. We released the GcExcel for .NET Version in April, and with this launch it's now possible to use a similar package in Java applications.
This video is a step-by-step tutorial on how to add a chart to a spreadsheet using GcExcel, Java.
Initialize the workbook.
Add a worksheet and range of data to it.
Add a chart with chart type – Column Clustered. The code above adds a chart type shape (where you specify the chart type and the location column).
Set the data as a series in the chart.
Set properties on the range of data.
Set number format on the chart axes.
Save the workbook.
If you have any questions or comments, please leave them in the comment thread below!