Initial commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtCharts 2.0
|
||||
|
||||
ChartView {
|
||||
width: 300
|
||||
height: 300
|
||||
|
||||
AreaSeries {
|
||||
name: "AreaSeries"
|
||||
upperSeries: LineSeries {
|
||||
XYPoint { x: 0; y: 1.5 }
|
||||
XYPoint { x: 1; y: 3 }
|
||||
XYPoint { x: 3; y: 4.3 }
|
||||
XYPoint { x: 6; y: 1.1 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtCharts 2.0
|
||||
|
||||
|
||||
ChartView {
|
||||
width: 300
|
||||
height: 300
|
||||
|
||||
BarSeries {
|
||||
name: "BarSeries"
|
||||
BarSet { label: "Set1"; values: [2, 2, 3] }
|
||||
BarSet { label: "Set2"; values: [5, 1, 2] }
|
||||
BarSet { label: "Set3"; values: [3, 5, 8] }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtCharts 2.0
|
||||
|
||||
ChartView {
|
||||
width: 300
|
||||
height: 300
|
||||
|
||||
BoxPlotSeries {
|
||||
name: "BoxPlotSeries"
|
||||
BoxSet { label: "Set1"; values: [3, 4, 5.1, 6.2, 8.5] }
|
||||
BoxSet { label: "Set2"; values: [5, 6, 7.5, 8.6, 11.8] }
|
||||
BoxSet { label: "Set3"; values: [3.2, 5, 5.7, 8, 9.2] }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtCharts 2.0
|
||||
|
||||
|
||||
ChartView {
|
||||
width: 300
|
||||
height: 300
|
||||
|
||||
HorizontalBarSeries {
|
||||
name: "HorizontalBarSeries"
|
||||
BarSet { label: "Set1"; values: [2, 2, 3] }
|
||||
BarSet { label: "Set2"; values: [5, 1, 2] }
|
||||
BarSet { label: "Set3"; values: [3, 5, 8] }
|
||||
}
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtCharts 2.0
|
||||
|
||||
|
||||
ChartView {
|
||||
width: 300
|
||||
height: 300
|
||||
|
||||
HorizontalPercentBarSeries {
|
||||
name: "HorizontalPercentBarSeries"
|
||||
BarSet { label: "Set1"; values: [2, 2, 3] }
|
||||
BarSet { label: "Set2"; values: [5, 1, 2] }
|
||||
BarSet { label: "Set3"; values: [3, 5, 8] }
|
||||
}
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtCharts 2.0
|
||||
|
||||
|
||||
ChartView {
|
||||
width: 300
|
||||
height: 300
|
||||
|
||||
HorizontalStackedBarSeries {
|
||||
name: "HorizontalStackedBarSeries"
|
||||
BarSet { label: "Set1"; values: [2, 2, 3] }
|
||||
BarSet { label: "Set2"; values: [5, 1, 2] }
|
||||
BarSet { label: "Set3"; values: [3, 5, 8] }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtCharts 2.0
|
||||
|
||||
|
||||
ChartView {
|
||||
width: 300
|
||||
height: 300
|
||||
|
||||
LineSeries {
|
||||
name: "LineSeries"
|
||||
XYPoint { x: 0; y: 2 }
|
||||
XYPoint { x: 1; y: 1.2 }
|
||||
XYPoint { x: 2; y: 3.3 }
|
||||
XYPoint { x: 5; y: 2.1 }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtCharts 2.0
|
||||
|
||||
|
||||
ChartView {
|
||||
width: 300
|
||||
height: 300
|
||||
|
||||
PercentBarSeries {
|
||||
name: "PercentBarSeries"
|
||||
BarSet { label: "Set1"; values: [2, 2, 3] }
|
||||
BarSet { label: "Set2"; values: [5, 1, 2] }
|
||||
BarSet { label: "Set3"; values: [3, 5, 8] }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtCharts 2.0
|
||||
|
||||
ChartView {
|
||||
width: 300
|
||||
height: 300
|
||||
|
||||
PieSeries {
|
||||
name: "PieSeries"
|
||||
PieSlice { label: "Slice1"; value: 13.5 }
|
||||
PieSlice { label: "Slice2"; value: 10.9 }
|
||||
PieSlice { label: "Slice3"; value: 8.6 }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtCharts 2.0
|
||||
|
||||
|
||||
PolarChartView {
|
||||
width: 300
|
||||
height: 300
|
||||
legend.visible: false
|
||||
|
||||
ValueAxis {
|
||||
id: axis1
|
||||
tickCount: 9
|
||||
}
|
||||
ValueAxis {
|
||||
id: axis2
|
||||
}
|
||||
LineSeries {
|
||||
id: lowerLine
|
||||
axisAngular: axis1
|
||||
axisRadial: axis2
|
||||
|
||||
XYPoint { x: 1; y: 5 }
|
||||
XYPoint { x: 2; y: 10 }
|
||||
XYPoint { x: 3; y: 12 }
|
||||
XYPoint { x: 4; y: 17 }
|
||||
XYPoint { x: 5; y: 20 }
|
||||
}
|
||||
LineSeries {
|
||||
id: upperLine
|
||||
axisAngular: axis1
|
||||
axisRadial: axis2
|
||||
|
||||
XYPoint { x: 1; y: 5 }
|
||||
XYPoint { x: 2; y: 14 }
|
||||
XYPoint { x: 3; y: 20 }
|
||||
XYPoint { x: 4; y: 32 }
|
||||
XYPoint { x: 5; y: 35 }
|
||||
}
|
||||
AreaSeries {
|
||||
name: "AreaSeries"
|
||||
axisAngular: axis1
|
||||
axisRadial: axis2
|
||||
lowerSeries: lowerLine
|
||||
upperSeries: upperLine
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtCharts 2.0
|
||||
|
||||
|
||||
PolarChartView {
|
||||
width: 300
|
||||
height: 300
|
||||
|
||||
LineSeries {
|
||||
name: "LineSeries"
|
||||
axisRadial: CategoryAxis {
|
||||
min: 0
|
||||
max: 20
|
||||
}
|
||||
axisAngular: ValueAxis {
|
||||
tickCount: 9
|
||||
}
|
||||
XYPoint { x: 0; y: 4.3 }
|
||||
XYPoint { x: 2; y: 4.7 }
|
||||
XYPoint { x: 4; y: 5.2 }
|
||||
XYPoint { x: 6; y: 6.1 }
|
||||
XYPoint { x: 8; y: 12.9 }
|
||||
XYPoint { x: 9; y: 19.2 }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtCharts 2.0
|
||||
|
||||
PolarChartView {
|
||||
width: 300
|
||||
height: 300
|
||||
|
||||
ScatterSeries {
|
||||
name: "ScatterSeries"
|
||||
axisRadial: CategoryAxis {
|
||||
min: 0
|
||||
max: 20
|
||||
}
|
||||
axisAngular: ValueAxis {
|
||||
tickCount: 9
|
||||
}
|
||||
XYPoint { x: 0; y: 4.3 }
|
||||
XYPoint { x: 2; y: 4.7 }
|
||||
XYPoint { x: 4; y: 5.2 }
|
||||
XYPoint { x: 8; y: 12.9 }
|
||||
XYPoint { x: 9; y: 19.2 }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtCharts 2.0
|
||||
|
||||
|
||||
PolarChartView {
|
||||
width: 300
|
||||
height: 300
|
||||
|
||||
SplineSeries {
|
||||
name: "SplineSeries"
|
||||
axisRadial: CategoryAxis {
|
||||
min: 0
|
||||
max: 20
|
||||
}
|
||||
axisAngular: ValueAxis {
|
||||
tickCount: 9
|
||||
}
|
||||
XYPoint { x: 0; y: 4.3 }
|
||||
XYPoint { x: 2; y: 4.7 }
|
||||
XYPoint { x: 4; y: 5.2 }
|
||||
XYPoint { x: 6; y: 6.1 }
|
||||
XYPoint { x: 8; y: 12.9 }
|
||||
XYPoint { x: 9; y: 19.2 }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtCharts 2.0
|
||||
|
||||
ChartView {
|
||||
width: 300
|
||||
height: 300
|
||||
|
||||
ScatterSeries {
|
||||
name: "ScatterSeries"
|
||||
XYPoint { x: 1; y: 1 }
|
||||
XYPoint { x: 2; y: 4 }
|
||||
XYPoint { x: 4; y: 2 }
|
||||
XYPoint { x: 5; y: 5 }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtCharts 2.0
|
||||
|
||||
ChartView {
|
||||
width: 300
|
||||
height: 300
|
||||
|
||||
SplineSeries {
|
||||
name: "SplineSeries"
|
||||
XYPoint { x: 0; y: 1 }
|
||||
XYPoint { x: 3; y: 4.3 }
|
||||
XYPoint { x: 5; y: 3.1 }
|
||||
XYPoint { x: 8; y: 5.8 }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtCharts 2.0
|
||||
|
||||
|
||||
ChartView {
|
||||
width: 300
|
||||
height: 300
|
||||
|
||||
StackedBarSeries {
|
||||
name: "StackedBarSeries"
|
||||
BarSet { label: "Set1"; values: [2, 2, 3] }
|
||||
BarSet { label: "Set2"; values: [5, 1, 2] }
|
||||
BarSet { label: "Set3"; values: [3, 5, 8] }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user