Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am editing an extension and I'd like to make a setting able to take in a variable...
return {
type: "items",
component: "accordion",
items: {
dimensions: {
uses: "dimensions",
min: 0,
max: 0
},
measures: {
uses: "measures",
min: 1,
max: 1
},
sorting: {
uses: "sorting"
},
settings: {
maxValue: {
type: "integer",
ref: "maxValue",
label: "maxValue",
defaultValue: 100
},...
that gives this...
I need to be able to put a variable in instead of 100... maxValue would equal $(vMAXVal).
Also, how does the d3 code behind detect when a change has been made on the front, like when I change the 100 to 1000? im used to using 'onchange' or 'onhover' in the javascript, but d3 with qlik probably has its own method for detecting when somethings been changed.
how does the d3 access the new number or variable that has been set for maxValue in the code behind?
Thank you for helping this noob!
Hi,
You need to set expression optional String property definition ‒ Qlik Sense. This also means you need to have a strikt property.
Hope this helps
Erik Wetterberg