diff --git a/ui/app/components/gauge-chart.js b/ui/app/components/gauge-chart.js index 2f30a2f3d..3df1f5e4d 100644 --- a/ui/app/components/gauge-chart.js +++ b/ui/app/components/gauge-chart.js @@ -74,9 +74,7 @@ export default Component.extend(WindowResizable, { }, updateDimensions() { - const $svg = this.$('svg'); - const width = $svg.width(); - + const width = this.element.querySelector('svg').clientWidth; this.setProperties({ width, height: width / 2 }); },