Text Panel Content Guidelines
Data Accuracy Checks
Verify that the chart data matches the project data:
- category names come from the project, not from a hardcoded list,
- values come from the intended TQL query,
- category and value arrays have the same length,
- category and value arrays are aligned index-by-index,
- no values are accidentally shifted by one position,
- missing or non-finite values are filtered or handled explicitly,
- the aggregate type matches the intended metric, for example `GRIDAVG` for an average,
- the grid type and result type match the intended overlay,
- the timeframe matches the subtitle,
- units are consistent with the metric.
Rendered-Image Checks
Inspect the rendered panel image or rendered HTML:
- the chart is visible,
- the title is visible and not duplicated,
- the subtitle is visible and readable,
- all category labels are visible,
- x-axis labels are not clipped,
- y-axis labels are not clipped,
- bar value labels are not clipped,
- the footnote is visible if present,
- the background is readable over the 3D map,
- text colors have sufficient contrast,
- bars are colored according to the intended encoding,
- the minimum and maximum categories are visually distinguishable,
- the colorbar or legend is present when color encodes a value,
- units are shown in the axis, labels, tooltip, and colorbar where relevant,
- the timeframe or date is shown,
- no JavaScript error message is visible,
- no blank chart container is present.
Metadata Checks
Verify panel metadata:
- the panel name matches the requested name,
- the panel ID being inspected is the intended panel,
- the panel size matches the layout assumptions,
- the overlay coupling matches the data source,
- the panel visibility matches the stakeholder requirements,
- the panel location or popup configuration is correct when used in the map,
- the rendered panel corresponds to the stored panel text,
- screenshots are not older than the stored text version.
Common Failure Signatures
| Symptom | Likely cause |
|---|---|
| Empty panel body | Panel text was not persisted |
| Blank chart container | JavaScript error, missing container, or bad trace shape |
| Visible JavaScript error | Invalid syntax, bad TQL substitution, or runtime exception |
| All bars same default color | Missing or misspelled `marker.color` |
| Smallest bar appears gray or white | `cmin` pinned to data minimum on a near-white sequential scale |
| Bars look almost identical | Zero baseline over a narrow value band |
| x-axis labels missing | Chart too tall for panel or insufficient bottom margin |
| Title missing or below chart | Chart container placed before title in DOM |
| Literal `°` in labels | HTML entity used inside JavaScript string |
| Wrong panel name with `(2)` | Name collision with existing panel |
| Panel shows blank map but content exists elsewhere | Stale empty panel with same name shadows intended panel |
| Subtitle date does not match chart | Timeframe not pinned or subtitle not updated |