Instantly share code, notes, and snippets.

Embed
What would you like to do?
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