mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
statistics: implement StatsView
The StatsView shows the chart described by the StatsState structure. It is based on a QML ChartView. This should make it possible to easily port to mobile. It does not include any of the UI around the chart, viz. the variable and chart selection, etc. The code checking for the statistical significance of the regression line was written by Willem. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za>
This commit is contained in:
parent
a034014a6a
commit
995100a540
6 changed files with 1139 additions and 1 deletions
8
stats/qml/statsview.qml
Normal file
8
stats/qml/statsview.qml
Normal file
|
@ -0,0 +1,8 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
import QtQuick 2.0
|
||||
import QtCharts 2.0
|
||||
|
||||
ChartView {
|
||||
antialiasing: true
|
||||
localizeNumbers: true
|
||||
}
|
5
stats/qml/statsview.qrc
Normal file
5
stats/qml/statsview.qrc
Normal file
|
@ -0,0 +1,5 @@
|
|||
<RCC>
|
||||
<qresource prefix="/qml">
|
||||
<file>statsview.qml</file>
|
||||
</qresource>
|
||||
</RCC>
|
Loading…
Add table
Add a link
Reference in a new issue