summaryrefslogtreecommitdiffstats
path: root/basicsuite/enterprise-charts/View9.qml
diff options
context:
space:
mode:
authorJuho Annunen <juho.annunen@qt.io>2018-07-30 11:27:56 +0300
committerJuho Annunen <juho.annunen@qt.io>2018-08-02 09:21:50 +0000
commit4aa85d783e7e3e729ee4a4d772869236bf60d326 (patch)
tree022bd4a4dd533010e1720c1bbc26f6feb7a75eb2 /basicsuite/enterprise-charts/View9.qml
parenta60eb6782491ca42dd9139ad0a14866cdf064d40 (diff)
Use QSettings for color definitions
Task-number: QTBUG-69536 Change-Id: I4c1fa7758db6f593dd38050a75d276fcc85346ac Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
Diffstat (limited to 'basicsuite/enterprise-charts/View9.qml')
-rw-r--r--basicsuite/enterprise-charts/View9.qml7
1 files changed, 3 insertions, 4 deletions
diff --git a/basicsuite/enterprise-charts/View9.qml b/basicsuite/enterprise-charts/View9.qml
index ab68c5c..a85711e 100644
--- a/basicsuite/enterprise-charts/View9.qml
+++ b/basicsuite/enterprise-charts/View9.qml
@@ -50,7 +50,6 @@
import QtQuick 2.0
import QtCharts 2.0
-import "settings.js" as Settings
Item {
anchors.fill: parent
@@ -60,9 +59,9 @@ Item {
anchors.fill: parent
HorizontalBarSeries {
axisY: BarCategoryAxis { categories: ["2007", "2008", "2009", "2010", "2011", "2012" ] }
- BarSet { label: "Bob"; color: Settings.primaryGreen; values: [2, 2, 3, 4, 5, 6] }
- BarSet { label: "Susan"; color: Settings.primaryGrey; values: [5, 1, 2, 4, 1, 7] }
- BarSet { label: "James"; color: Settings.secondaryGrey; values: [3, 5, 8, 13, 5, 8] }
+ BarSet { label: "Bob"; color: _primaryGreen; values: [2, 2, 3, 4, 5, 6] }
+ BarSet { label: "Susan"; color: _primaryGrey; values: [5, 1, 2, 4, 1, 7] }
+ BarSet { label: "James"; color: _secondaryGrey; values: [3, 5, 8, 13, 5, 8] }
}
Component.onCompleted: {