mirror of
https://github.com/apache/superset.git
synced 2026-04-23 10:04:45 +00:00
fix(plugin-chart-echarts): use scale for truncating x-axis (#26269)
This commit is contained in:
@@ -460,7 +460,13 @@ export default function transformProps(
|
||||
xAxisType === AxisType.time && timeGrainSqla
|
||||
? TIMEGRAIN_TO_TIMESTAMP[timeGrainSqla]
|
||||
: 0,
|
||||
...getMinAndMaxFromBounds(xAxisType, truncateXAxis, xAxisMin, xAxisMax),
|
||||
...getMinAndMaxFromBounds(
|
||||
xAxisType,
|
||||
truncateXAxis,
|
||||
xAxisMin,
|
||||
xAxisMax,
|
||||
seriesType,
|
||||
),
|
||||
};
|
||||
|
||||
let yAxis: any = {
|
||||
|
||||
Reference in New Issue
Block a user