Created
July 17, 2018 14:16
-
-
Save erikwett/583ad7c4c61f2f65f602e71e272be456 to your computer and use it in GitHub Desktop.
Add your own property to the built-in measure property
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
measures: { | |
uses: "measures", | |
min: 1, | |
max: 6, | |
items: { | |
type: { | |
ref: "qDef.type", | |
type: "string", | |
label: "Type", | |
component: "dropdown", | |
options: [ | |
{ value: "line", label: "Line" }, | |
{ value: "area", label: "Area" }, | |
{ value: "column", label: "Bar" }, | |
{ value: "none", label: "None" } | |
], | |
defaultValue: "line" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment