window(
    width=750, height=600,
    x = 16, middle = 0
) {
    content(style="stats") {
        title {
            "Statistics"
        }
        graph_selection {
            button(selected=true, tab="money") {
                content {
                    "Money"
                }
            }
            button(tab="income") {
                content {
                    "Income/Outcome"
                }
            }
            button(tab="students") {
                content {
                    "Students"
                }
            }
            button(tab="grades") {
                content {
                    "Grades"
                }
            }
        }
        graph_area
        buttons {
            button(
                on_click="init#ui.emit_cancel(node)"
            ) {
                content {
                    "Close"
                }
            }
        }
    }
}