How to measure area averages of a grid and visualize it in a graph
Jump to navigation
Jump to search
To visualize average values of a Grid Overlay across multiple Areas over time, create a Template Text Panel using TQL and Plotly. Plotly is used to render the line chart via JavaScript.
How to measure area averages of a grid and visualize it in a graph:
- Open a project in the Editor with the Grid Overlay and Areas that can be identified by an attribute.
- Hover over Panels in the ribbon bar and under Template Panels select Add Text Template.
- Ensure the Template Text Panel is selected.
- First select the Template tab and under Apply template on, select AREAS.
- Optionally click on the Select button and select the identifier attribute.
- Select the general tab.
- Click on the enlarge button to open the text edit panel.
- Click on the link named Insert TQL Plotly Graph.
- Select the Grid Overlay you want to measure.
- With the panel text content generated, click on close.
- Click on the apply template button to create the child panels, one per Area
- Hover over the Calculation panel in the ribbon bar and select Reset X-Queries
-
Example content of a Template Text Panel
-
Panel content of a Water Level Area named Area (3).


