mirror of
https://github.com/apache/superset.git
synced 2026-04-22 09:35:23 +00:00
feat: Adds legacy time support for Waterfall chart (#26136)
This commit is contained in:
committed by
GitHub
parent
4f00404805
commit
f405ba033e
@@ -185,6 +185,7 @@ export default function transformProps(
|
||||
const { setDataMask = () => {}, onContextMenu, onLegendStateChanged } = hooks;
|
||||
const {
|
||||
currencyFormat,
|
||||
granularitySqla = '',
|
||||
groupby,
|
||||
increaseColor,
|
||||
decreaseColor,
|
||||
@@ -213,7 +214,10 @@ export default function transformProps(
|
||||
const breakdownName = isAdhocColumn(breakdownColumn)
|
||||
? breakdownColumn.label!
|
||||
: breakdownColumn;
|
||||
const xAxisName = isAdhocColumn(xAxis) ? xAxis.label! : xAxis;
|
||||
const xAxisColumn = xAxis || granularitySqla;
|
||||
const xAxisName = isAdhocColumn(xAxisColumn)
|
||||
? xAxisColumn.label!
|
||||
: xAxisColumn;
|
||||
const metricLabel = getMetricLabel(metric);
|
||||
|
||||
const transformedData = transformer({
|
||||
|
||||
Reference in New Issue
Block a user