Skip to content

Highcharts width exceeds container div on first load #20334

@jja-financial-com

Description

@jja-financial-com

When viewing a chart in a small screen, the chart overflows and gets hidden under the vertical scrollbar. This issue is reproducible when the vertical scrollbar is not present initially and appears when the chart is fully rendered.
image

Once a resize happens, chart redraws and the issue is fixed.
image

image
highcharts-container seems to be overflowing the container

This issue is actual only for small screens and works fine if scrollbar is not needed or if scrollbar is present without highcharts

Expected behaviour

Y axis labels should not overflow the container

Actual behaviour

Y axis labels seems to overflow the container

Internally in our projects, while using similar configuration, the tooltip is also overflowing outside the chart window
image

Live demo with steps to reproduce

https://jsfiddle.net/jijojames18/0rdf9sha/52/

Product version

Highstock v11.2.0

Affected browser(s)

All major browsers

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions