Canvas apps
In a canvas app, give the Ninth Forge Chart a collection, map its category and value columns by name, and it draws a Lite chart with no key and no watermark.
Everything on this page was run in a canvas app in Ninth Forge Dev on 2 November 2026, with the Ninth Forge Chart 0.15.1 and a collection as its data, and nothing it describes has changed since (checked against 0.19.0). Anything not run yet is listed at the end as not checked.
Draw a chart from a collection
-
Build the collection, for example in the app’s OnStart, then run OnStart (… next to App → Run OnStart):
ClearCollect( colSales, { Region: "North", Amount: 120 }, { Region: "North", Amount: 80 }, { Region: "South", Amount: 150 }, { Region: "East", Amount: 60 } ) -
Save the app, then close and reopen it. In a brand-new app, Insert → Get more components showed only the Canvas tab until the app had been saved and reopened. After that the Code tab listed the Ninth Forge controls.
-
Code → Ninth Forge Chart → Import. It appears in the Insert pane under Code components.
-
Insert it. Studio asks for a data source and lists the collection under In your app: pick
colSales. (Or set Items tocolSales.) -
Fields → Edit → Add field: tick the collection’s columns (
Amount,Region) → Add. -
Map the columns on the Advanced tab, as text with the column’s name:
category:"Region"value:"Amount"
-
Give the control a size, e.g. Width
900and Height420. Charts fill whatever box they get.
Check it
In Play mode (F5), the chart adds the rows up by category: North 200, South 150, East 60. It’s a Lite column chart: no key and no watermark. Chart type Bar, Line, Area and Donut are Lite too.

Good to know
- Number settings left empty arrive as 0 in canvas apps. The controls read 0 as “not set” where 0 would be odd: a reference line at 0 with no label isn’t drawn, and Decimal places defaults to -1 (automatic). Type a value to override. (Before 0.15.1, an empty reference line drew a line at 0, which is Pro and added the watermark.)
- Studio’s zoom and the app’s scale-to-fit: from 0.15.1 the chart measures its real box, so it draws at full size at any zoom. Before, it drew in a corner at Studio’s 20 % zoom.
- Unmapped optional columns (Level 2, Split by and so on) are ignored. Before 0.15.1, a canvas app listed them anyway and the chart showed a drill-down breadcrumb.
Not checked in a canvas app yet
- A Dataverse table as the data source (
Items: Sales). It works in model-driven views; in canvas it hasn’t been run. - OnSelect and the outputs (
selectedCategory,selectedRecordIds). - The KPI, KPI Shapes, Sankey, Variance, Variance Table and Consulting controls in a canvas app.
- Licence keys and the watermark on Pro types in a canvas app.
- Custom pages.
Last updated