Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello, I try to custom an extension by adding a third measure.
So I have set the min property of measures definition to 3 but when I log the layout, the Array lenght is only 4 (instead of 5 for my 2 dimensions and 3 measures).
Did I miss something ?
definition : {
type : "items",
component : "accordion",
items : {
dimensions : {
uses : "dimensions",
min : 2,
max : 2
},
measures : {
uses : "measures",
min : 3,
max : 3
},
sorting : {
uses : "sorting"
},
settings : {
uses : "settings"
}
}
},
Hi Jeremy,
don't know if this is what happened in your case but if your create your extension with an initialProperty with the initial width to say 4, create a visualization in an app, and then change to 5 (because you have added an expression) the visualization will not be updated, since these are just initial properties, used on creation. You will have to recreate it.
Hope this helps
Erik
I didn't find the reason of this bug but after a copy of my code in another extension, I can now access to the third measure.... Strange...
Hi Jeremy,
don't know if this is what happened in your case but if your create your extension with an initialProperty with the initial width to say 4, create a visualization in an app, and then change to 5 (because you have added an expression) the visualization will not be updated, since these are just initial properties, used on creation. You will have to recreate it.
Hope this helps
Erik