Compare commits

..

1 Commits

Author SHA1 Message Date
Albert Backenhof
2e24a4d1a4 Updated the indices of the default colors
-Of the Metric Semaphores.

Issue: DEB-162
2019-04-10 09:50:26 +02:00
2 changed files with 8 additions and 12 deletions

View File

@@ -41,7 +41,7 @@ const metricSemaphores = {
component: 'color-picker',
dualOutput: true,
defaultValue: {
index: 8,
index: 10,
color: '#f93f17'
}
},
@@ -52,7 +52,7 @@ const metricSemaphores = {
component: 'color-picker',
dualOutput: true,
defaultValue: {
index: 11,
index: 1,
color: '#ffffff'
}
},
@@ -69,7 +69,7 @@ const metricSemaphores = {
component: 'color-picker',
dualOutput: true,
defaultValue: {
index: 9,
index: 8,
color: '#ffcf02'
}
},
@@ -80,7 +80,7 @@ const metricSemaphores = {
component: 'color-picker',
dualOutput: true,
defaultValue: {
index: 12,
index: 15,
color: '#000000'
}
},
@@ -91,7 +91,7 @@ const metricSemaphores = {
component: 'color-picker',
dualOutput: true,
defaultValue: {
index: 10,
index: 3,
color: '#276e27'
}
},
@@ -102,7 +102,7 @@ const metricSemaphores = {
component: 'color-picker',
dualOutput: true,
defaultValue: {
index: 11,
index: 1,
color: '#ffffff'
}
}

View File

@@ -20,16 +20,12 @@ export default {
},
data: {
dimensions: {
max: function (nMeasures) {
return nMeasures < 9 ? 2 : 1;
},
max: 3,
min: 1,
uses: 'dimensions'
},
measures: {
max: function (nDims) {
return nDims < 2 ? 9 : 8;
},
max: 8,
min: 1,
uses: 'measures'
}