# DatasetTransform

The DatasetTransform type declaration and related types. Optional fields are marked with ?.

Canonical: https://chart.syidax.com/docs/types/DatasetTransform/

<a id="declaration"></a>

## Type declaration

```typescript
export type DatasetTransform =
  | { type: 'filter'; config: DatasetCondition }
  | { type: 'sort'; config: DatasetSortKey | ReadonlyArray<DatasetSortKey> }
  | { type: 'regression'; config?: RegressionOptions }
  | { type: 'boxplot'; config?: BoxplotOptions }
  | { type: 'sample'; config?: SampleOptions };
```

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

## Related types

- [DatasetCondition](https://chart.syidax.com/docs/types/DatasetCondition.md)
- [DatasetSortKey](https://chart.syidax.com/docs/types/DatasetSortKey.md)
- [RegressionOptions](https://chart.syidax.com/docs/types/RegressionOptions.md)
- [BoxplotOptions](https://chart.syidax.com/docs/types/BoxplotOptions.md)
- [SampleOptions](https://chart.syidax.com/docs/types/SampleOptions.md)
