summaryrefslogtreecommitdiffstats
path: root/examples/charts/qmlchartsgallery/qml/customlegend/AnimatedAreaSeries.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/charts/qmlchartsgallery/qml/customlegend/AnimatedAreaSeries.qml')
-rw-r--r--examples/charts/qmlchartsgallery/qml/customlegend/AnimatedAreaSeries.qml13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/charts/qmlchartsgallery/qml/customlegend/AnimatedAreaSeries.qml b/examples/charts/qmlchartsgallery/qml/customlegend/AnimatedAreaSeries.qml
new file mode 100644
index 00000000..1b768878
--- /dev/null
+++ b/examples/charts/qmlchartsgallery/qml/customlegend/AnimatedAreaSeries.qml
@@ -0,0 +1,13 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
+import QtQuick
+import QtCharts
+
+AreaSeries {
+ id: series
+
+ Behavior on opacity {
+ NumberAnimation { duration: 250 }
+ }
+}