Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import QtQuick 2.0
- import QtQuick.Controls 2.0
- import QtQuick.Controls.Material 2.0
- import QtQuick.Layouts 1.0
- import QtQuick.Window 2.0
- import QtCharts 2.1
- ApplicationWindow {
- visible: true
- width: 640
- height: 480
- title: qsTr("Money Holder")
- Material.accent: Material.Grey
- Material.theme: Material.Dark
- ChartView {
- width: 400
- height: 300
- theme: ChartView.ChartThemeBrownSand
- antialiasing: true
- PieSeries {
- id: pieSeries
- PieSlice { label: "eaten"; value: 94.9 }
- PieSlice { label: "not yet eaten"; value: 5.1 }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement