Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
i have drop-down list of current objects available on sheet, i want to put mechanism in paint method or property definition section so that measures of that selected object comes on measure section.
for example,
Let's say i selected object Revenue by Product Group. it has dimension - product group & measure - Revenue. and i want that measure & dimension on that tab automatically.
I have object ids. how could i do that? please help.
I was solving a similar problem, trying to reference a current properties in the property definition object. In the first example in these docs the options field is built from an anonymous function, what the docs don't say is that this function receives the scope object as single parameter, so you can do:
...
options:
function (scope) {
console.log(scope.yourCustomProperty)
},
...
hope that helps..
thank you to konrad.mattheis on the slack channel for pointing me to the answer!