Skip to content

Commit

Permalink
Merge pull request #3 from qlik-oss/DEB-254/FixStrings
Browse files Browse the repository at this point in the history
Property strings using standard formatting
  • Loading branch information
AlbertBackenhof authored Jun 14, 2019
2 parents 530036b + 9d13dbc commit 14b52f4
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/definition.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ define([], function () {
},
subtotalColor: {
ref: "color.subtotal.paletteColor",
label: "Start Value Color",
label: "Start value color",
type: "object",
component: "color-picker",
dualOutput: true,
Expand All @@ -59,7 +59,7 @@ define([], function () {
},
subtotalEndColor: {
ref: "color.subtotalEnd.paletteColor",
label: "End Value Color",
label: "End value color",
type: "object",
component: "color-picker",
dualOutput: true,
Expand Down Expand Up @@ -200,39 +200,39 @@ define([], function () {
startName: {
ref: "startName",
type: "string",
label: "Start Value Label",
label: "Start value label",
expression: "optional",
defaultValue: "Start Value",
defaultValue: "Start value",
show: function e(t) {
return !t.labelsshow;
}
},
endName: {
ref: "endName",
type: "string",
label: "End Value Label",
label: "End value label",
expression: "optional",
defaultValue: "End Value",
defaultValue: "End value",
show: function e(t) {
return !t.labelsshow;
}
},
posName: {
ref: "posName",
type: "string",
label: "Positive Label",
label: "Positive label",
expression: "optional",
defaultValue: "Positive Variance",
defaultValue: "Positive variance",
show: function e(t) {
return !t.labelsshow;
}
},
negName: {
ref: "negName",
type: "string",
label: "Negative Label",
label: "Negative label",
expression: "optional",
defaultValue: "Negative Variance",
defaultValue: "Negative variance",
show: function e(t) {
return !t.labelsshow;
}
Expand All @@ -249,7 +249,7 @@ define([], function () {
title: {
ref: "measureAxis.title",
type: "string",
label: "Axis Title",
label: "Axis title",
defaultValue: "",
expression: "optional"
}
Expand Down Expand Up @@ -310,23 +310,23 @@ define([], function () {
max: 1,
disabledRef: "",
description: () => {
return "Bridge Dimension";
return "Bridge dimension";
}
},
measures: {
min: 2,
max: 2,
disabledRef: "",
description: (a, b) => {
return ["Start Value", "End Value"][b];
return ["Start value", "End value"][b];
},
items: {
variance: {
show: (a, b) => {
return b.properties.qHyperCubeDef.qMeasures[0] == a;
},
type: "string",
label: "Variance Formula",
label: "Variance formula",
component: "expression",
ref: "qAttributeExpressions.0.qExpression",
defaultValue: () => {
Expand Down

0 comments on commit 14b52f4

Please sign in to comment.