ODS Formats Charts in Java
Native and high performance ODS document charts using server-side Aspose.Cells for Java APIs, without the use of any software like Microsoft or Adobe PDF.
How to Create ODS File Charts Using Java
In order to create ODS file charts, we’ll use
API which is a feature-rich, powerful and easy to use charting API for Java platform. You can download its latest version directly from
and install it within your Maven-based project by adding the following configurations to the pom.xml.
<repository> <id>AsposeJavaAPI</id> <name>Aspose Java API</name> <url>https://repository.aspose.com/repo/</url> </repository>
<dependency> <groupId>com.aspose</groupId> <artifactId>aspose-cells</artifactId> <version>version of aspose-cells API</version> <classifier>jdk17</classifier> </dependency>
Steps to Create ODS Files Charts in Java
A basic document charting with
APIs can be done with just few lines of code.
- Create Workbook class object.
- Get the reference of the first worksheet.
- Add sample values to cells.
- Add a chart to the worksheet.
- Access the instance of the newly added chart.
- Setting chart data source as the range.
- Save workbook.
Aspose.Cells for Java supports on all major platforms and Operating Systems. Please make sure that you have the following prerequisites.
- Microsoft Windows or a compatible OS with Java Runtime Environment for JSP/JSF Application and Desktop Applications.
- Get latest version of Aspose.Cells for Java directly from Maven .
Create ODS Files Chart - Java
Online ODS Chart Conversion Live Demos
Convert ODS documents charts to images right now by visiting our by visiting our Live Demos website . The live demo has the following benefits
ODS What is ODS File Format?
Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. Data is stored inside ODF file into rows and columns. It is XML-based format and is one of the several subtypes in the Open Document Formats (ODF) family. The format is specified as part of the ODF 1.2 specifications published and maintained by OASIS. A number of applications on Windows as well as other operating systems can open ODS files for editing and manipulation including Microsoft Excel, NeoOffice and LibreOffice. ODS files can also be converted into other spreadsheet formats as well like XLS, XLSX and others by different applications.Read More