nicolaskruchten / pivottable

Open-source Javascript Pivot Table (aka Pivot Grid, Pivot Chart, Cross-Tab) implementation with drag'n'drop.
https://pivottable.js.org/
MIT License
4.36k stars 1.07k forks source link

Google chart resizes once edited #923

Open ghost opened 6 years ago

ghost commented 6 years ago

Google chart resizes if you edit it using the built in option for example in this demo: https://pivottable.js.org/examples/gchart.html

double click on the chart and change the title once saved, the chart is resized and is smaller, is that an expected behaviour? can it be prevented?

nicolaskruchten commented 6 years ago

Unfortunately there's not much I can say about what Google Charts' editor does to the chart, you'll have to look for help from them... Once PivotTable.js hands over control to their code it's out of my hands :)

ghost commented 6 years ago

@nicolaskruchten do you know why this issue is happening? I Googled the issue but no one seems to have this problem with Google Charts

even on Google example itself: https://developers.google.com/chart/interactive/docs/reference#example_7

whenever you have time, can you please look at it and give me some hints on how to fix it thanks

nicolaskruchten commented 6 years ago

I don't know why it's happening, no... Also, just to set expectations: I probably will not be looking into this too too much, as I moved from primarily supporting Google Charts to favouring C3js and now as a Plotly employee that's where I'm putting most of my energy.