Incorrect Legend Height
Open
C-bug
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 1.4k
- Avg merge
- 6d 16h
- Merged PRs (30d)
- 1
Description
* **C3 version**: 0.4.18
* **D3 version**: 4.10.2
* **Browser**: Chrome
* **OS**: OSX 10.12.6
If you have the legend position set to `inset` and you hide a series, the legend height still includes the height of the hidden series.
Example: http://jsfiddle.net/jschaenzle/3fs6ngsj/
Contributor guide
Research direction
Start with the linked JSFiddle reproduction and trace the legend sizing behavior for an inset legend when a series is hidden. Done means the legend height no longer includes the hidden series while preserving the expected height for visible series.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- d3, javascript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100