mirror of
https://github.com/apache/superset.git
synced 2026-04-24 10:35:01 +00:00
fix(line-chart): Formula Annotations on Line Charts are broken (#20687)
This commit is contained in:
@@ -226,7 +226,14 @@ export default function transformProps(
|
||||
.forEach((layer: AnnotationLayer) => {
|
||||
if (isFormulaAnnotationLayer(layer))
|
||||
series.push(
|
||||
transformFormulaAnnotation(layer, data1, colorScale, sliceId),
|
||||
transformFormulaAnnotation(
|
||||
layer,
|
||||
data1,
|
||||
xAxisCol,
|
||||
xAxisType,
|
||||
colorScale,
|
||||
sliceId,
|
||||
),
|
||||
);
|
||||
else if (isIntervalAnnotationLayer(layer)) {
|
||||
series.push(
|
||||
|
||||
Reference in New Issue
Block a user