Out-of-the-box examples
This is documentation for Drupal 7, which is no longer supported. Learn more and find resources for Drupal 7 sites
By simply installing the charts module, and without any additional configuration, a new view is added to your site that contains 2 examples of creating a chart using the views UI (user interface) to create charts.
You can see the charts created via this new view in your own site by navigating to charts/examples or by using a menu link with a title like Charts examples. After doing so, a page is shown with 2 sub-menu tabs:
- the 1st tab is titled Built-in examples (this example is used to showcase Using the Charts API). Visit the Charts demo site for an online preview of it.
- the 2nd tab is titled Views example, and is what is created from the new view created during the installation of the charts module. As an alternative to using this tab, just navigate to charts/examples/views in your site. You should then see a column chart and a pie chart, which are followed by a tabular display also. Both charts and the table display contain data about the total number of nodes for each of the available content types. Visit the Charts demo site for an online preview of it.
Assuming you're authorized (by your site admin) to do so, use the link to edit the view, via a link like /admin/structure/views/view/charts_demo/edit/page). Via the typical views UI, you will then see the magic about the 2 displays of this view, created by the charts module, i.e.:
- The Column chart, attached before the page display of the view.
- The Pie chart, attached before the page display of the view.
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion