# chartPopulateStepData

## Description

A step chart is a line chart that does not use the shortest distance to connect two data points. Instead, it uses horizontal and vertical lines to connect the data points in a series, forming a step-like progression.

## Input / Parameter

| Name         | Description                                                          | Input Type  | Default | Options | Required |
| ------------ | -------------------------------------------------------------------- | ----------- | ------- | ------- | -------- |
| component    | The name of the Chart component that the details will be taken from. | String/Text | -       | -       | Yes      |
| componentID  | The id of the Chart component that the details will be taken 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       |
| xCategories  | The labels for the categories on the x-axis.                         | Array/List  | -       | -       | No       |
| yCaption     | The label for the x-axis.                                            | String/Text | -       | -       | No       |
| xCaption     | The label for the y-axis.                                            | String/Text | -       | -       | No       |
| showLabel    | To show or hide label.                                               | Boolean     | false   | -       | No       |
| zoom         | To zoom or not to zoom.                                              | Boolean     | false   | -       | No       |

## Output

N/A

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

## Callback

N/A

## Video

Coming Soon.

## Example

Coming Soon.

### Steps

Coming Soon.

### Result

Coming Soon.

## Links
