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

# ChartType

## Overview

`ChartType` is a enum in Aspose.Cells FOSS for Java.

Identifies the type of an embedded chart.

This enumeration defines 26 values: `BAR`, `COLUMN`, `LINE`, `AREA`, `PIE`, `DOUGHNUT`, `SCATTER`, `BUBBLE`, `RADAR`, `STOCK`, `BAR_3D`, `COLUMN_3D`, and 14 more.

## Description

`ChartType` is an enumeration type in the Aspose.Cells FOSS library for Java. It defines a set of named constants that control behavior or specify options within the API. Enumerations like `ChartType` help ensure type safety by restricting values to a predefined set.

## Values

| Value | Description |
|-------|-------------|
| `BAR` | Horizontal bar chart. |
| `COLUMN` | Vertical column chart. |
| `LINE` | Line chart. |
| `AREA` | Area chart. |
| `PIE` | Pie chart. |
| `DOUGHNUT` | Doughnut chart. |
| `SCATTER` | Scatter (XY) chart. |
| `BUBBLE` | Bubble chart. |
| `RADAR` | Radar (spider) chart. |
| `STOCK` | Stock (OHLC) chart. |
| `BAR_3D` | Three-dimensional bar chart. |
| `COLUMN_3D` | Three-dimensional column chart. |
| `LINE_3D` | Three-dimensional line chart. |
| `AREA_3D` | Three-dimensional area chart. |
| `PIE_3D` | Three-dimensional pie chart. |
| `SURFACE_3D` | Three-dimensional surface chart. |
| `SURFACE_WIREFRAME_3D` | Three-dimensional wireframe surface chart. |
| `CONTOUR` | Contour chart. |
| `WATERFALL` | Waterfall chart showing cumulative data. |
| `TREEMAP` | Treemap chart showing hierarchical data. |
| `SUNBURST` | Sunburst chart showing hierarchical data as rings. |
| `HISTOGRAM` | Histogram chart showing frequency distribution. |
| `BOX_AND_WHISKER` | Box and whisker chart showing statistical spread. |
| `FUNNEL` | Funnel chart. |
| `MAP` | Map chart showing geographic data. |
| `UNKNOWN` | Unknown or unrecognized chart type. |

## 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/charttype/)