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

feat(polar): Intent to ship polar type #2594

Merged
merged 1 commit into from
Mar 15, 2022
Merged

Conversation

netil
Copy link
Member

@netil netil commented Mar 15, 2022

Issue

#2462

Details

Implementation of polar type

// Polar options
polar: {
    level: {
        depth: 5,
        max: 150,	
        text: {
            show: true,
            backgroundColor: "yellow",
            format: function(level) {
                return `Level: ${level} `;
            }
        },
        show: false
    },
    label: {
        show: true,
        format: function(value, ratio, id) {
            return `${value}\n(${(ratio * 100).toFixed(0)}%)`;
        },
        ratio: 1,
        threshold: 0.25
    },
    padAngle: 0,
    padding: 0,
    startingAngle: 1.5
},

Implementation of polar type

Ref naver#2462
@netil netil added the feature label Mar 15, 2022
@netil netil self-assigned this Mar 15, 2022
@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 90.315% when pulling a26a540 on netil:polar#2462 into 948edd2 on naver:master.

@netil netil merged commit feca715 into naver:master Mar 15, 2022
@netil netil deleted the polar#2462 branch March 15, 2022 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants