Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why sometimes the d3pie does not draw sectors? #171

Open
timamus opened this issue Jun 3, 2019 · 0 comments
Open

Why sometimes the d3pie does not draw sectors? #171

timamus opened this issue Jun 3, 2019 · 0 comments

Comments

@timamus
Copy link

timamus commented Jun 3, 2019

Why sometimes the d3pie does not draw sectors? If the mouse cursor is in place of the diagram before the d3pie is loaded, the sectors where the cursor was located are not visible. Then, If I spend the mouse over the sectors that are not drawn, they are restored. And this bug happenes when "gradient" is "enabled": true, in the "misc" section.
изображение

The code located below helps to bypass the bug with full functionality. Where 1000 should be equal to the amount of chart animation load time.

});
setTimeout(function(){
pie.updateProp("effects.load.effect", "none");
}, 1000);
</script>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant