fix: annotations on horizontal bar chart (#31308)

This commit is contained in:
Damian Pendrak
2024-12-05 22:20:22 +01:00
committed by GitHub
parent 6af22a9cdd
commit 2816a70af3
3 changed files with 374 additions and 7 deletions

View File

@@ -384,6 +384,7 @@ export default function transformProps(
xAxisType,
colorScale,
sliceId,
orientation,
),
);
else if (isIntervalAnnotationLayer(layer)) {
@@ -395,6 +396,7 @@ export default function transformProps(
colorScale,
theme,
sliceId,
orientation,
),
);
} else if (isEventAnnotationLayer(layer)) {
@@ -406,6 +408,7 @@ export default function transformProps(
colorScale,
theme,
sliceId,
orientation,
),
);
} else if (isTimeseriesAnnotationLayer(layer)) {
@@ -417,6 +420,7 @@ export default function transformProps(
annotationData,
colorScale,
sliceId,
orientation,
),
);
}