Creates a table chart from sheet data.
class Charts method .newTableChart()
Charts is the Apps Script service.
.newTableChart() is the method name you will see after a dot in your code.
What it does
Why it's used
- Embed a data table chart from sheet ranges.
- Quick visual summary on a dashboard tab.
Common errors
- Forgetting parentheses on newTableChart. Write Charts.newTableChart(), not Charts.newTableChart or newTableChart by itself.
- Skipping dots between chained calls. Each step needs a dot, like Charts.newTableChart().
- Adding spaces where they do not belong. Write Charts.newTableChart(), not Charts .newTableChart(), Charts.newTableChart (), or Charts . newTableChart().
- Wrong capitalization. Use Charts and newTableChart, not charts or newtablechart.
Explore
Related methods
-
.newLineChart()
Creates a line chart from sheet data.
-
.newBarChart()
Creates a bar chart from sheet data.
-
.newPieChart()
Creates a pie chart from sheet data.
More Apps Script
Better Sheets tutorials
No tagged tutorials yet. Fetch Apps Script from the harvest table and this page fills automatically.
Related blog posts
Written guides about Charts.newTableChart().
How to Make a Bar Chart Race From Google Sheets
Google Sheets can't animate charts, but it can do the hard part. Build a bar chart race with paste-ready formulas, then export a free video.
Read post →How to Make a Gantt Chart in Google Sheets (and When Not To)
Make a simple Gantt chart in Google Sheets with one conditional formatting rule, try the timeline and sparkline options, and see when a year view fits.
Read post →How to Use Google Sheets as a Website Database
Did you know you can use Google Apps Script to turn a Google Sheet into a free, auto-syncing database for your website? This guide shows you exactly how to set it up. You’ll prepare your spreadsheet, write a few lines of code and publish your site. Don’t worry if you’re not a developer, we’ll walk you through it. Why Use Google Sheets as a Database? For small projects, Google Sheets offers many advantages over traditional databases: * Free hosting and storage * Easy to edit data without...
Read post →