Skip to content

Why sometimes the d3pie does not draw sectors? #171

@timamus

Description

@timamus

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions