Compare commits
1 Commits
0.37.0
...
DEB-162/De
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2e24a4d1a4 |
@@ -18,9 +18,6 @@ const definition = {
|
||||
},
|
||||
uses: 'data'
|
||||
},
|
||||
sorting: {
|
||||
uses: 'sorting'
|
||||
},
|
||||
settings: {
|
||||
items: {
|
||||
ConceptSemaphores: conceptSemaphores,
|
||||
@@ -31,25 +28,8 @@ const definition = {
|
||||
},
|
||||
uses: 'settings'
|
||||
},
|
||||
about: {
|
||||
component: 'items',
|
||||
label: 'About',
|
||||
items: {
|
||||
header: {
|
||||
label: 'P&L pivot',
|
||||
style: 'header',
|
||||
component: 'text'
|
||||
},
|
||||
paragraph1: {
|
||||
label: `P&L pivot is a Qlik Sense extension which allows you to display Profit & Loss
|
||||
reporting with color and font customizations.`,
|
||||
component: 'text'
|
||||
},
|
||||
paragraph2: {
|
||||
label: 'P&L pivot is based upon an extension created by Ivan Felipe Asensio.',
|
||||
component: 'text'
|
||||
}
|
||||
}
|
||||
sorting: {
|
||||
uses: 'sorting'
|
||||
}
|
||||
},
|
||||
type: 'items'
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user