carbon-design-system / carbon-charts

:bar_chart: :chart_with_upwards_trend:⠀Robust dataviz framework implemented using D3 & typescript
https://charts.carbondesignsystem.com
Apache License 2.0
913 stars 185 forks source link

[Bug]: Leaving full screen breaks stacked bar chart #1217

Open AlvaroRausell opened 3 years ago

AlvaroRausell commented 3 years ago

Contact Details

alvaro.rausell.guiard@ibm.com

What happened?

Upon leaving full screen - via the built-in toolbar - on a StackedBarChart component, the sizing of the chart breaks as shown on the screenshots below. Before Before After After

Version

@carbon/charts@0.51.0

Data & options used

Default options with custom colours.

Relevant log output

No console output.

Codesandbox example

No response

Akshat55 commented 2 years ago

Hi @AlvaroRausell, could you please provide us the chart options and the data that you used? I cannot seem to replicate this issue with default options and custom colors.

theiliad commented 2 years ago

@AlvaroRausell it'd be great if you could create a sandbox where the issue is reproduced as I'm also having issues reproducing this