mirror of
https://github.com/apache/superset.git
synced 2026-04-24 02:25:13 +00:00
feat: Axis sort in the Bar Chart V2 (#21993)
This commit is contained in:
@@ -104,7 +104,7 @@ const buildQuery: BuildQuery<TableChartFormData> = (
|
||||
isPhysicalColumn(col) &&
|
||||
formData.time_grain_sqla &&
|
||||
hasGenericChartAxes &&
|
||||
formData?.datetime_columns_lookup?.[col]
|
||||
formData?.temporal_columns_lookup?.[col]
|
||||
) {
|
||||
return {
|
||||
timeGrain: formData.time_grain_sqla,
|
||||
|
||||
@@ -218,7 +218,7 @@ const config: ControlPanelConfig = {
|
||||
},
|
||||
}
|
||||
: null,
|
||||
hasGenericChartAxes && isAggMode ? 'datetime_columns_lookup' : null,
|
||||
hasGenericChartAxes && isAggMode ? 'temporal_columns_lookup' : null,
|
||||
],
|
||||
[
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user