Sparkline: Hide axes for real (#116040)

This commit is contained in:
Paul Marbach
2026-01-09 07:57:56 -05:00
committed by GitHub
parent 1c5caeb987
commit 12abbd5a15
@@ -120,7 +120,7 @@ const defaultConfig: GraphFieldConfig = {
drawStyle: GraphDrawStyle.Line,
showPoints: VisibilityMode.Auto,
axisPlacement: AxisPlacement.Hidden,
pointSize: 2,
pointSize: 0,
};
export const prepareSeries = (
@@ -204,6 +204,7 @@ export const prepareConfig = (
scaleKey: 'x',
theme,
placement: AxisPlacement.Hidden,
show: false,
});
for (let i = 0; i < dataFrame.fields.length; i++) {
@@ -230,6 +231,7 @@ export const prepareConfig = (
scaleKey,
theme,
placement: AxisPlacement.Hidden,
show: false,
});
const colorMode = getFieldColorModeForField(field);