# showSeries

An asynchronous method. Check the argument and return types below.

Canonical: https://chart.syidax.com/docs/methods/showSeries/

<a id="definition"></a>

## Definition

```typescript
showSeries(idOrIndex: string | number, opts?: { redraw?: boolean }): Promise<boolean>
```

| Arguments | Type | Required |
| --- | --- | --- |
| `idOrIndex` | `string \| number` | Required |
| `opts` | `{ redraw?: boolean }` | Optional |

Return type: `Promise<boolean>`. Call the method after element registration and await its Promise result.

<a id="related"></a>

## Related charts

- [sy-line-chart](https://chart.syidax.com/docs/components/line.md#method-showSeries)
- [sy-area-chart](https://chart.syidax.com/docs/components/area.md#method-showSeries)
- [sy-column-chart](https://chart.syidax.com/docs/components/column.md#method-showSeries)
- [sy-bar-chart](https://chart.syidax.com/docs/components/bar.md#method-showSeries)
- [sy-scatter-chart](https://chart.syidax.com/docs/components/scatter.md#method-showSeries)
- [sy-dumbbell-chart](https://chart.syidax.com/docs/components/dumbbell.md#method-showSeries)
- [sy-dot-plot-chart](https://chart.syidax.com/docs/components/dot-plot.md#method-showSeries)
- [sy-marimekko-chart](https://chart.syidax.com/docs/components/marimekko.md#method-showSeries)
