From f2feb19d6825f98b2c745ff4b7d392a7611b9315 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=AD=90=E6=A5=9A=5Czhuzi?= Date: Fri, 13 Oct 2023 01:12:36 +0800 Subject: [PATCH] update --- src/Qt5/imports/FluentUI/Controls/FluChart.qml | 3 ++- src/Qt6/imports/FluentUI/Controls/FluChart.qml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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