c3js / c3js/c3

Resize chart height on parent div resize

Open
#1,450 9 comments 0 reactions 0 assignees View on GitHub
C-bug
Dominant language
JavaScript
Stars
9.3k
Forks
1.4k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

When resizing the div where the chart is created, the chart automatically resizes horizontally, but not vertically because of this line:

Line 880

``` javascript
$$.selectChart.style('max-height', $$.currentHeight + "px");
```

Please consider changing this in order to support full resize

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.