Last active
June 6, 2017 07:43
-
-
Save erikwett/8cff48c615bbd0fc7dd2af187def829a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dimension : { | |
type : "items", | |
label : "Dimensions", | |
ref : "qListObjectDef", | |
min : 1, | |
max : 1, | |
items : { | |
label : { | |
type : "string", | |
ref : "qListObjectDef.qDef.qFieldLabels.0", | |
label : "Label", | |
show : true | |
}, | |
libraryId : { | |
type : "string", | |
component : "library-item", | |
libraryItemType : "dimension", | |
ref : "qListObjectDef.qLibraryId", | |
label : "Dimension", | |
show : function(data) { | |
return data.qListObjectDef && data.qListObjectDef.qLibraryId; | |
} | |
}, | |
field : { | |
type : "string", | |
expression : "always", | |
expressionType : "dimension", | |
ref : "qListObjectDef.qDef.qFieldDefs.0", | |
label : "Field", | |
show : function(data) { | |
return data.qListObjectDef && !data.qListObjectDef.qLibraryId; | |
} | |
}, | |
frequency : { | |
type : "string", | |
component : "dropdown", | |
label : "Frequency mode", | |
ref : "qListObjectDef.qFrequencyMode", | |
options : [{ | |
value : "N", | |
label : "No frequency" | |
}, { | |
value : "V", | |
label : "Absolute value" | |
}, { | |
value : "P", | |
label : "Percent" | |
}, { | |
value : "R", | |
label : "Relative" | |
}], | |
defaultValue : "V" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment