1 | NO CONTENT: new file 100644, binary diff hidden |
|
NO CONTENT: new file 100644, binary diff hidden |
@@ -56,7 +56,6 Rectangle { | |||||
56 | PieSlice { label: "Logistics"; value: 1332; color: "#260D19"; borderColor: "#13060C"; borderWidth: 2 } |
|
56 | PieSlice { label: "Logistics"; value: 1332; color: "#260D19"; borderColor: "#13060C"; borderWidth: 2 } | |
57 | } |
|
57 | } | |
58 | } |
|
58 | } | |
59 | //![1] |
|
|||
60 |
|
|
59 | ||
61 | Component.onCompleted: { |
|
60 | Component.onCompleted: { | |
62 | // Set the common slice properties dynamically for convenience |
|
61 | // Set the common slice properties dynamically for convenience | |
@@ -71,4 +70,5 Rectangle { | |||||
71 | pieInner.at(i).borderWidth = 2; |
|
70 | pieInner.at(i).borderWidth = 2; | |
72 | } |
|
71 | } | |
73 | } |
|
72 | } | |
|
73 | //![1] | |||
74 | } |
|
74 | } |
@@ -24,7 +24,7 import QtCommercial.Chart 1.0 | |||||
24 | Rectangle { |
|
24 | Rectangle { | |
25 | width: parent.width |
|
25 | width: parent.width | |
26 | height: parent.height |
|
26 | height: parent.height | |
27 |
property int viewNumber: 1 |
|
27 | property int viewNumber: 1 | |
28 |
|
28 | |||
29 | Loader { |
|
29 | Loader { | |
30 | id: loader |
|
30 | id: loader |
@@ -25,7 +25,15 | |||||
25 | \snippet ../demos/qmlchart/qml/qmlchart/View5.qml 1 |
|
25 | \snippet ../demos/qmlchart/qml/qmlchart/View5.qml 1 | |
26 | \image demos_qmlchart5.png |
|
26 | \image demos_qmlchart5.png | |
27 |
|
27 | |||
28 |
And |
|
28 | And a few different bar series: | |
29 | \snippet ../demos/qmlchart/qml/qmlchart/View6.qml 1 |
|
29 | \snippet ../demos/qmlchart/qml/qmlchart/View6.qml 1 | |
30 | \image demos_qmlchart6.png |
|
30 | \image demos_qmlchart6.png | |
|
31 | \snippet ../demos/qmlchart/qml/qmlchart/View7.qml 1 | |||
|
32 | \image demos_qmlchart7.png | |||
|
33 | \snippet ../demos/qmlchart/qml/qmlchart/View8.qml 1 | |||
|
34 | \image demos_qmlchart8.png | |||
|
35 | ||||
|
36 | And finally an example how to create a donut chart with two pie series: | |||
|
37 | \snippet ../demos/qmlchart/qml/qmlchart/View12.qml 1 | |||
|
38 | \image demos_qmlchart12.png | |||
31 | */ |
|
39 | */ |
General Comments 0
You need to be logged in to leave comments.
Login now