diff --git a/webapp/views/App/views/Data/Charts/Charts.js b/webapp/views/App/views/Data/Charts/Charts.js
index 12f58c2041..8b476d9975 100644
--- a/webapp/views/App/views/Data/Charts/Charts.js
+++ b/webapp/views/App/views/Data/Charts/Charts.js
@@ -1,5 +1,5 @@
import './Charts.scss'
-import React, { useState, useEffect } from 'react'
+import React, { useState, useEffect, useRef } from 'react'
import { Query } from '@common/model/query'
import { Button } from '@webapp/components/buttons'
import Chart from './components/Chart'
@@ -17,6 +17,7 @@ const Charts = () => {
const [fullScreen, setFullScreen] = useState(false)
const { nodeDefLabelType, toggleLabelFunction } = useNodeDefLabelSwitch()
const { dimensions, entityDefUuid, setEntityDefUuid } = useGetDimensionsFromArena(nodeDefLabelType)
+ const chartRef = useRef(null)
const { config, configItemsByPath, configActions, spec, updateSpec, draft, chartData, renderChart } = useChart(
entityDefUuid ? Query.create({ entityDefUuid }) : null,
@@ -61,7 +62,14 @@ const Charts = () => {
dimensions={dimensions}
/>
-