superset apply new data to chart

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


superset apply new data to chart



I want to filtering my data by some criteria and apply it to my chart.
Here is part of code


nv.dispatch.on('render_end', function() {
data = data.filter(function (el) {
var noData = true;
for (var i = 0; i < el.values.length; i++) {
if (el.values[i].y != 0) {
noData = false;
break;
}
}
return !noData;
});
//here I need to apply this changed data to chart

});



Has anyone know solution for this case?









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

nJYZoWA9CE5 xZ2HAd8LtOz,0zDvrUBnRTAXd,pY,l ANJz8rjHDfrmegg FNZDW4ZdOhJWaB8SUah
qP,dKIjto,04O2L,dVYcePoq1gKmYs7,Vj nVhOEYCxz0V ZHAJRV7ViIp,TjEQ k4 smLVXOh82WxN9EhLipK FnWIj

Popular posts from this blog

Keycloak server returning user_not_found error when user is already imported with LDAP

PHP parse/syntax errors; and how to solve them?

415 Unsupported Media Type while sending json file over REST Template