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

highcharts resize in jupyter #69

Open
genagibson opened this issue Jul 9, 2019 · 1 comment
Open

highcharts resize in jupyter #69

genagibson opened this issue Jul 9, 2019 · 1 comment

Comments

@genagibson
Copy link

I am struggling to see how to resize the Highchart in jupyter notebook so that it fits to the cell/container. Is there a way to get the size to automatically adjust to fit the screen? Thank you.

@gbowden39
Copy link

gbowden39 commented Oct 1, 2019

The usual Highcharts sizing option seems to work if you specify the chart height and width in pixels.

    options = {
        'chart': {
                'height': '600',
                'width': '950',
        },
    }

    H.set_dict_options(options)

It does not work if you specify the chart height and width as a percentage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants