Try now New API BETA
Try out the new view and capabilities of the API documentation
Creates a custom chart filled with array-based values in the spreadsheet: