Skip to content

@urban-toolkit/autk-plot


@urban-toolkit/autk-plot / SortTransformConfig

Type Alias: SortTransformConfig ​

SortTransformConfig = object

Defined in: api.ts:186

Sort preset config.

Reorders rows by a single column without aggregating them. Preserves autkIds on every output row. Using '@transform' in PlotConfig.attributes with sort throws an error.

Properties ​

options? ​

optional options?: object

Defined in: api.ts:188

column? ​

optional column?: string

Column to sort by. Defaults to PlotConfig.attributes.axis[0].

direction? ​

optional direction?: "asc" | "desc"

Sort direction. Defaults to 'asc'.


preset ​

preset: "sort"

Defined in: api.ts:187

Released under the MIT License.