---
Product: Aspose.Cells
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/java/Chart
---

# Chart

## Overview

`Chart` is a class in Aspose.Cells FOSS for Java.

Represents an embedded chart in a worksheet (read-only; charts are round-tripped verbatim).

This class provides 8 methods for working with Chart objects in Java programs.
Available methods include: `getChartType`, `getExtentCx`, `getExtentCy`, `getLowerRightColumn`, `getLowerRightRow`, `getName`, `getUpperLeftColumn`, `getUpperLeftRow`.
All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: `chartType`, `extentCx`, `extentCy`, `lowerRightColumn`, `lowerRightRow`, `name`, and 2 more.

## Description

`Chart` is a class in the Aspose.Cells FOSS library for Java that exposes 8 methods and 8 properties for programmatic use.

Core capabilities include: `string`; `charttype`; `long`. These operations enable developers to integrate chart functionality directly into Java applications.

The class also provides the `name` property (gets the name), the `chartType` property (gets the chart type), the `upperLeftRow` property (gets the upper left row).

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `name` | `String` | Read | Gets the name. |
| `chartType` | `ChartType` | Read | Gets the chart type. |
| `upperLeftRow` | `int` | Read | Gets the upper left row. |
| `upperLeftColumn` | `int` | Read | Gets the upper left column. |
| `lowerRightRow` | `int` | Read | Gets the lower right row. |
| `lowerRightColumn` | `int` | Read | Gets the lower right column. |
| `extentCx` | `long` | Read | Width in English Metric Units (EMUs). |
| `extentCy` | `long` | Read | Height in English Metric Units (EMUs). |

## Methods

| Signature | Description |
|-----------|-------------|
| `getName()` → `String` | Returns the name. |
| `getChartType()` → `ChartType` | Returns the chart type. |
| `getUpperLeftRow()` → `int` | Returns the upper left row. |
| `getUpperLeftColumn()` → `int` | Returns the upper left column. |
| `getLowerRightRow()` → `int` | Returns the lower right row. |
| `getLowerRightColumn()` → `int` | Returns the lower right column. |
| `getExtentCx()` → `long` | Width in English Metric Units (EMUs). |
| `getExtentCy()` → `long` | Height in English Metric Units (EMUs). |

## See Also

- [Aspose.Cells — Enterprise API Reference](https://reference.aspose.com/cells/)
- [Aspose.Cells for Java — Enterprise API Reference](https://reference.aspose.com/cells/java/com.aspose.cells/chart/)