lib/templates/html/cdf_uplift.html [68:101]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
}
},
scales: {
y: {
suggestedMax: {{upliftMax}},
suggestedMin: {{upliftMin}},
beginAtZero: true,
title: {
text: "Uplift (%)",
display: true
}
},
x: {
title: {
text: "Quantile",
display: true
},
ticks: {
callback: function(val, index) {
x = this.getLabelForValue(val);
if (Math.round(x*100)%10===0) {
return x;
}
}
}
}
},
elements: {
point:{
radius: 1
}
}
}
});
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
lib/templates/html/cdf_uplift.html [170:203]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
}
},
scales: {
y: {
suggestedMax: {{upliftMax}},
suggestedMin: {{upliftMin}},
beginAtZero: true,
title: {
text: "Uplift (%)",
display: true
}
},
x: {
title: {
text: "Quantile",
display: true
},
ticks: {
callback: function(val, index) {
x = this.getLabelForValue(val);
if (Math.round(x*100)%10===0) {
return x;
}
}
}
}
},
elements: {
point:{
radius: 1
}
}
}
});
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -