Commit 7b80e300 by Torkel Ödegaard Committed by GitHub

BarGauge: Fix space bug in single series mode (#26176)

parent 2191fe12
...@@ -44,7 +44,7 @@ export class BarGaugePanel extends PureComponent<PanelProps<BarGaugeOptions>> { ...@@ -44,7 +44,7 @@ export class BarGaugePanel extends PureComponent<PanelProps<BarGaugeOptions>> {
displayMode={options.displayMode} displayMode={options.displayMode}
onClick={openMenu} onClick={openMenu}
className={targetClassName} className={targetClassName}
alignmentFactors={alignmentFactors} alignmentFactors={count > 1 ? alignmentFactors : undefined}
showUnfilled={options.showUnfilled} showUnfilled={options.showUnfilled}
/> />
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment