Testbed

 // Copyright (C) 2023 The Qt Company Ltd.
 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

 import QtQuick
 import QtGraphs
 import Testbed

 Rectangle {
     anchors.fill: parent
     color: "#404040"

     GraphsView {
         id: chartView
         anchors.fill: parent
         anchors.margins: 20 * px
         anchors.topMargin: 80 * px
         theme: GraphTheme {
             id: myTheme
             colorTheme: GraphTheme.ColorThemeDark
             axisXLabelsFont.pixelSize: 20
         }
         CustomBarSeries {
             id: barSeries
             axisX: BarCategoryAxis {
                 categories: ["2023", "2024"]
             }
             axisY: ValueAxis {
                 max: 30
             }
         }
     }
 }