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

# ChartLoader

## Overview

`ChartLoader` is a class in Aspose.Cells FOSS for TypeScript.

ChartLoader.loadCharts(filePath) asynchronously reads a spreadsheet file and returns a Promise that resolves to an array of ChartInfo objects representing each chart in the file.

This class declares 1 method for ChartLoader objects in TypeScript programs.
Available methods include: `loadCharts`.
Public members are accessible to any TypeScript application after installing the Aspose.Cells FOSS for TypeScript package.
Properties: `categories`, `height`, `name`, `values`, `width`, `x`, and 1 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `x` | `: number` | Read | Gets the x. |
| `y` | `: number` | Read | Gets the y. |
| `width` | `: number` | Read | Gets the width. |
| `height` | `: number` | Read | Gets the height. |
| `name` | `: string` | Read | Gets the name. |
| `values` | `: number[]` | Read | Gets the values. |
| `categories` | `: string[]` | Read | Gets the categories. |

## Methods

| Signature | Description |
|-----------|-------------|
| `loadCharts(filePath: string)` → `Promise<ChartInfo[]>` | Asynchronously reads a spreadsheet file and returns a Promise that resolves to an array of ChartInfo objects representing each chart in the file |

## See Also

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