mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
fixing metric reporting issue (#13933)
This commit is contained in:
parent
1078d19210
commit
e8da9d9786
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ export function GaugeChartProvider(Private) {
|
|||
const gauges = self.gauge.drawGauge(g, series, width, height);
|
||||
|
||||
if (self.gaugeConfig.type === 'simple') {
|
||||
const bbox = svg.node().children[0].getBBox();
|
||||
const bbox = svg.node().firstChild.getBBox();
|
||||
const finalWidth = bbox.width + containerMargin * 2;
|
||||
const finalHeight = bbox.height + containerMargin * 2;
|
||||
svg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue