Hi there, i’ve tried to create a horizontal barchart with a 2 stacked data sets.
This renders but when i try to overide/edit the chart it keeps saying no chart found.
Please could you help with this.
URL:
OVERIDE (on spreadsheet, G2 references the URL):
=G2&"&labels="&JOIN(",",A2:A10)&"&data1="&JOIN(",",B2:B10)&"&data2="&JOIN(",",C2:C10)
All the data is dummy data and the bars are actually mean’t to be different lengths according to their data. I’ll sort my data from biggest to smallest down the chart.
It would be really awesome if the Chart Layout resized itself according to the amount of data i supplied it OR alternatively i could maybe list only the top 100 stats/bars. Also would need the chart to be about 600 wide and 6000 high (in terms of the size/ratio)
(Is any of that possible?)
If this doesn’t work, please provide the text output of the cell.
To answer your other questions:
There currently isn’t a way to dynamically size the chart layout
The current height limit for charts is 3000px. However, you get a 6000px image height by setting chart height to 3000px and devicePixelRatio to 2 (which is the default)
Oh man, so sorry about that. Absolute brain fade moment. i see now that you had edited it already - =G2&"?labels="&JOIN(",",A2:A10)&"&data1="&JOIN(",",B2:B10)&"&data2="&JOIN(",",C2:C10)
And i thought you were going crazy:crazy_face:
Thanks so much. Sorry to have wasted your time.