c3js / c3js/c3

Fixed size of chart when resizing

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

Description

Hi,

I would like to ask you how to achieve that chart doesnt change height in some resolution.
Here is how it looks like on 800x640:

![image](https://user-images.githubusercontent.com/14432020/49430445-50b04e00-f7ab-11e8-8f40-2ead65070168.png)

But when I change height to 800x400 I would like to have some minimal size of chart and add scrollbar:
For the "card" I use min-height and preserve the size of "card" I tried it to use also on graph but without effect.

![image](https://user-images.githubusercontent.com/14432020/49431371-a4239b80-f7ad-11e8-84b7-61d529d81bd1.png)

Thanks,

Krpo

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.