diff --git a/src/Qt5/imports/FluentUI/Controls/FluChart.qml b/src/Qt5/imports/FluentUI/Controls/FluChart.qml index 6ec0a34a..d590cb30 100644 --- a/src/Qt5/imports/FluentUI/Controls/FluChart.qml +++ b/src/Qt5/imports/FluentUI/Controls/FluChart.qml @@ -1,9 +1,10 @@ import QtQuick 2.15 +import QtQuick.Window 2.15 import "./../JS/Chart.js" as Chart Canvas { id: control - + property var window: Window.window property var jsChart: undefined property string chartType property var chartData diff --git a/src/Qt6/imports/FluentUI/Controls/FluChart.qml b/src/Qt6/imports/FluentUI/Controls/FluChart.qml index ae2ee320..560266c6 100644 --- a/src/Qt6/imports/FluentUI/Controls/FluChart.qml +++ b/src/Qt6/imports/FluentUI/Controls/FluChart.qml @@ -3,7 +3,7 @@ import "./../JS/Chart.js" as Chart Canvas { id: control - + property var window: Window.window property var jsChart: undefined property string chartType property var chartData