qapp chart region kind (proposed)
qapp chart region kind (proposed)
Adds a chart: region kind to the .qapp grammar so analytics data renders as graphs, not just tables.
File shape
- One region per line, same as existing kinds:
chart:<name>:<source>:<type>
Line grammar
chart:<region-name>:<ref>:<type>[:<options>]typeโline | bar | funnel | pie<ref>is a GET ref resolving to bucketed series data (analytics module shape)<options>comma-separatedk=v(e.g.x=date,y=count,color=#1f77b4)
Reserved words
chartโ region kind marker.
Validation rules
- Unknown
typerejected at compile time. - Ref must resolve to a GET endpoint; non-2xx renders an error region, not a blank.
Implementation status
- proposed โ renderer + grammar change not yet built; tables (
table:,stats:,list:) are implemented.
Sources
- factory/forms/form-engine/QAPP.md
- factory/analytics/README.md