How to measure area averages of a grid and visualize it in a graph

From Tygron Support wiki
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:
  1. Open a project in the Editor with the Grid Overlay and Areas that can be identified by an attribute.
  2. Hover over Panels in the ribbon bar and under Template Panels select Add Text Template.
  3. Ensure the Template Text Panel is selected.
  4. First select the Template tab and under Apply template on, select AREAS.
  5. Optionally click on the Select button and select the identifier attribute.
  6. Select the general tab.
  7. Click on the enlarge button to open the text edit panel.
  8. Click on the link named Insert TQL Plotly Graph.
  9. Select the Grid Overlay you want to measure.
  10. With the panel text content generated, click on close.
  11. Click on the apply template button to create the child panels, one per Area
  12. Hover over the Calculation panel in the ribbon bar and select Reset X-Queries