I have a table that can have any number of rows but fixed number of columns.
I'm able to chart the graph by column but now I want to chart them up by switching rows and column. From the Sheet I can do it with a single click "Swtich rows or column" in chart selection. How should I implement the same using Sheets APIv4? I'm using python sdk, if that helps.