superset apply new data to chart

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.

Popular posts from this blog

Stripe::AuthenticationError No API key provided. Set your API key using “Stripe.api_key = ”

CRM reporting Extension - SSRS instance is blank

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