sortBy
Home > @gooddata/sdk-ui-charts > IChartConfig > sortBy
IChartConfig.sortBy property
Sort items to apply on the client where the backend cannot.
Signature:
sortBy?: ISortItem[];
Remarks
Used by the stacked Mekko chart to order its columns by a single measure: such a measure sort is not expressible in the execution (it would target the stack dimension), so it is kept out of the execution and the chart reorders the columns from this config instead. Other chart types ignore this property.