Skip to content

Instantly share code, notes, and snippets.

@erikwett
Created July 17, 2018 14:16
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save erikwett/583ad7c4c61f2f65f602e71e272be456 to your computer and use it in GitHub Desktop.
Add your own property to the built-in measure property
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