# ef-chart

Charting component that uses ChartJS library

## Properties

| Property            | Type                         | Default | Description                                      |
|---------------------|------------------------------|---------|--------------------------------------------------|
| `chart`             | `ChartJS \| null`            | null    | Chart.js object                                  |
| `colors (readonly)` | `string[]`                   |         | List of available colors for chart styling       |
| `config`            | `ChartConfiguration \| null` | null    | Chart configurations. Same configuration as ChartJS |

## Methods

| Method        | Type                              | Description                                      |
|---------------|-----------------------------------|--------------------------------------------------|
| `updateChart` | `(updateMode?: UpdateMode): void` | Update all data, title, scales, legends and re-render the chart based on its config<br /><br />**updateMode**: Additional configuration for control an animation in the update process. |
