How can I create a chart?
A chart can be created from the post editor and the charts library. The process of chart creation from both places is similar.
📝 Note: Before creating the chart, please note that by default, the plugin saves an image of the chart in your Media Library. The purpose of this is to be available for download in case you enable it in the front-end actions and for rendering the chart as an image on the AMP version of the page, which is done automatically. To prevent creating a copy of the chart as an image in your media library, just uncheck this box in the chart settings( click for image). Please note that if AMP is enabled on your website, this option is automatically turned on.
In this article, you will find describe each of the scenarios:
| Page Editor
|| Visualizer Library
📖 Page Editor
From the block editor, click on the ➕ button to Add a new block.
Type " Visualizer Chart" into the search bar, and click on the specific icon.
- When the block appears, you have two options: to display an existing chart or to create a new one ( we'll focus on this one ).
You have been redirected to the Visualizer menu, and click on Add New.
library and a
chart type. When you're done, click on
- You can make the final adjustments to your chart before inserting it. You'll find the setup chart options to the right.
When everything is set, click on
Create, and the chart will be inserted into the
Navigate to Dashboard > Visualizer > Chart Library.
📁 Visualizer Library
Click on Add new.
- From this moment, follow the steps described above in order to create a new chart:
- choose a library and a chart type.
- make some adjustments to the chart.
- when you're done, click on Create.
The chart is now in the Visualizer Library. Click on the ✂️ icon to copy the shortcode.
Choose the page where you want to add the chart and navigate to the page editor:
- click on the ➕ button to add a new block.
- search for the Shortcode block and add it to the page.
- paste the shortcode of the chart ( Step 4).
📝 Note: The settings are different for every distinct chart and for every library: DataTable, GoogleCharts, Charts.js (eg. the settings from Table - GoogleCharts are not the same as the settings from Table - DataTable).
That's it! Navigate to the website to see the changes.