> For the complete documentation index, see [llms.txt](https://docs.emobiq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emobiq.com/emobiq-client/006-actions-and-visual-logic/action-reference/cordova/chart/chartpopulatepiedata.md).

# chartPopulatePieData

## Description

A pie chart is a circular statistical graph which is divided into slices, where each slice of the pie represents a part of the whole.

## Input / Parameter

| Name         | Description                                           | Input Type  | Default | Options | Required |
| ------------ | ----------------------------------------------------- | ----------- | ------- | ------- | -------- |
| component    | The name of the Chart component to take details from. | String/Text | -       | -       | Yes      |
| componentId  | The id of the Chart component to take details from.   | String/Text | -       | -       | No       |
| dataCaptions | The legend for each data.                             | Array/List  | -       | -       | No       |
| data         | The data values for each legend.                      | Array/List  | -       | -       | Yes      |
| dataColors   | The colors to be set for each legend.                 | Array/List  | -       | -       | No       |

## Output

N/A

Note: The Chart component will be updated with the pie chart parameters specified.

## Callback

N/A

## Video

Coming Soon.

## Example

Coming Soon.

### Steps

Coming Soon.

### Result

Coming Soon.

## Links
