Skip to main content
Skip table of contents

How to add a diagram or chart to a PocketQuery Template

The Google Charts library is embedded in PocketQuery, which makes creating diagrams and charts very easy. For example, to create a bar chart, you only need to add one single line of code to your custom template:

CODE
<script>PocketQuery.chart('BarChart');</script>

Please refer to the Templating Tutorial (especially Example 5 and the following ones) for further information and more examples.

Additionally, PocketQuery exposes a simple JavaScript API for more advanced use cases. Details can be found in the Documentation of Javascript API Provided By PocketQuery.


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.