c3js / c3js/c3

piechart legend/label enhancement

Open
#2,576 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.3k
Forks
1.4k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

Would it be possible to add these features I added here (pie label background, bounding rect and custom legend using name, ratio and value):

https://jsfiddle.net/gothmogg/zhep4s0r/

to the piecharts manually "onrendered"?

Is there a smarter and less "costly" way to have this features using C3? Maybe editing c3.js?

This solution does NOT work if the chart is minimized when loading because then the "onredendered" seems not to be fired

p.s. feel free to use anything of this code as you like.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.