Table of Contents
How to create Highcharts charts in WordPress with wpDataTables
Say you report quarterly sales for your car dealership and want a 3D pie chart of sales by brand, a funnel from leads to sales and a column chart with revenue and units on two separate axes. Highcharts draws animated, interactive charts like these, and wpDataTables builds them from your table data without any code. You don’t need a separate Highcharts licence for charts made with wpDataTables.
What is Highcharts?
Highcharts is a JavaScript library for animated, interactive charts, and one of the engines in wpDataTables Premium. Since wpDataTables 3.0.4, Highcharts in wpDataTables is free for commercial use, so you don’t need to buy a Highcharts licence for your site. Read more about Highcharts licensing. For financial charts over time, use Highcharts Stock.
How do I create a Highcharts chart with Tabella AI?
Ask Tabella AI on the Dashboard for a Highcharts chart from your table, check the Review chart creation card and click Create reviewed chart. For example, type in Reply to Tabella AI…: Create a Highcharts pie chart of Stock per Category from the Office products table. The card shows the type, the engine, the source table, the columns and a preview before anything is saved.
How do I create a Highcharts chart in the chart wizard?
Go to wpDataTables → Create a Chart, name the chart, choose Highcharts as the engine and click a chart type, then follow the wizard. Highcharts offers 20 chart types. The steps after the engine are the same for every engine: the data source, the data range, the formatting with a live preview and Save chart, as described in how to create a chart in the chart wizard.
Which Highcharts chart types does wpDataTables support?
wpDataTables supports 20 Highcharts chart types. Each needs one text or date column for the labels and number columns for the values:
| Chart type | Data it needs | Notes |
|---|---|---|
| Line | 1 text or date column + 1 or more number columns | Can be combined with other series types |
| Basic area | 1 text or date column + 1 or more number columns | Can be combined with other series types |
| Stacked area | 1 text or date column + 1 or more number columns | |
| Basic bar | 1 text or date column + 1 or more number columns | Can be combined with other series types |
| Stacked bar | 1 text or date column + 1 or more number columns | |
| Basic column | 1 text or date column + 1 or more number columns | Can be combined with other series types |
| Stacked column | 1 text or date column + 1 or more number columns | |
| Pie | 1 text or date column + exactly 1 number column | |
| Pie with gradient | 1 text or date column + exactly 1 number column | |
| Donut | 1 text or date column + exactly 1 number column | |
| 3D pie | 1 text or date column + exactly 1 number column | |
| 3D donut | 1 text or date column + exactly 1 number column | |
| 3D column | 1 text or date column + 1 or more number columns | |
| Scatter plot | Number columns, with at most 1 text or date column, at least 2 columns | |
| Treemap | 1 text or date column + exactly 1 number column | |
| Treemap level | 1 text or date column + at least 2 number columns | |
| Polar | 1 text or date column + 1 or more number columns | Can be combined with other series types |
| Spiderweb | 1 text or date column + 1 or more number columns | Can be combined with other series types |
| Funnel | 1 text or date column + exactly 1 number column | |
| 3D funnel | 1 text or date column + exactly 1 number column |
How do I combine chart types and use several vertical axes?
Turn on Show vertical axis for a series in the Series group of the Formatting and preview step, and change the series type if needed. Use it to show values in different units in one chart, for example revenue as columns and units sold as a line:
- Choose the columns. Create a line, spline, basic area, basic bar or basic column chart with one label column and two or more number columns.
- Add an axis. In the Series group, turn on Show vertical axis for the series with the other unit.
- Change a type. Optionally change the Type of a series, for example to line. Polar and spiderweb charts can also mix types.
What should I remember about Highcharts?
Highcharts is the Premium engine for animated, interactive charts, including 3D, treemap and funnel charts, and it needs no extra licence. Ask Tabella AI for the chart or choose Highcharts in Create a Chart. Use Show vertical axis in the Series group to show several units in one chart.
Where can I read more?
These pages cover creating charts and the other engines: