ipychart icon indicating copy to clipboard operation
ipychart copied to clipboard

Chartjs graphs are not respecting the width and height of the container.

Open ndgayan opened this issue 2 years ago • 2 comments

It seems ChartJS might be trying to maintain the aspect ratio in the Voila dashboard web app. I need to turn that option off by setting the "maintainAspectRatio: false" option. Could you add this to the IPYCharts package to correctly render the charts in Voila?

ndgayan avatar Sep 10 '22 02:09 ndgayan

Hello @ndgayan, thanks for your feedback. I'll add this to the next release it as soon as I have some time.

nicohlr avatar Sep 12 '22 11:09 nicohlr

Thanks, @nicohlr.

ndgayan avatar Sep 12 '22 12:09 ndgayan

Hi @ndgayan, sorry for the (very long) delay. I suppose this is not useful for you anymore but i'm happy to inform you that this issue should be solved with the last release of ipychart (0.4.1). Do not hesitate to raise a new issue if you find another bug.

nicohlr avatar Aug 25 '23 12:08 nicohlr

Thank you, @nicohlr.

ndgayan avatar Sep 19 '23 23:09 ndgayan