nithinmurali / pygsheets

Google Sheets Python API v4
https://pygsheets.readthedocs.io/en/latest
Other
1.5k stars 220 forks source link

Feature request: different types of charts except "basicChart" #579

Open wamazeka opened 1 year ago

wamazeka commented 1 year ago

Referenced to GAPI documents, chart field selected in spec in json https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/charts?hl=ru#chartspec

But in chart.py there is hardcode basicChart, that value is limited, don't include pieChart, bubbleChart, candlestickChart and others in docs.

https://github.com/nithinmurali/pygsheets/blob/ffaec54c693afe33f72a0c6bea1d955a7a02b0cb/pygsheets/chart.py#L272

So, request is to add parameter for choosing another charts type except basicChart

ShashantNagpure commented 1 year ago

Hi, I am working on this.