Objects in the classic Workbook Editor
This page covers objects on a sheet in the classic Workbook Editor. To add charts to a Data App instead, see Choose a chart.
Add an object to a sheet
Section titled “Add an object to a sheet”The editor’s left menu groups objects into four lists:
| List | What it adds |
|---|---|
| Visuals | Charts, tables and other visualizations |
| Filters | Filters that change what the visualizations show |
| Controls | Buttons and text inputs |
| Graphics | Text, shapes, media and the Iframe object |
- Select a list in the left menu. Use Search at the top of the list to find an object by name.
- Select the object to add it to the sheet, or drag it to where you want it.
- Drag the object to move it, and drag its edges to resize it.
For the editor layout, see The classic Workbook Editor. For filters, see Filters.
Set an object up in the properties panel
Section titled “Set an object up in the properties panel”Select one object on the sheet. The properties panel shows it on the Object tab, which has two tabs of its own:
- The object’s own tab, named after its type, such as Bar chart or Iframe. It holds the settings for that type, including the data it uses. Charts usually have Data and Style tabs here, plus Axis for charts with axes and Layout for tables. See the page for each type, such as Charts, Tables or Number (KPI).
- Container, the settings every object shares. See Container properties.
If you select several objects at once, the panel shows “To enable the properties panel, select one object at a time.”
Container properties
Section titled “Container properties”The Container tab is a list of sections. Groups have the same tab, apart from Export.
Settings
Section titled “Settings”- Name: the name shown in the layers list, in actions and in insights. Give objects you use in actions a name you can recognise.
- Show object in workbook (Show group in workbook for a group): whether the object is visible when the workbook loads for viewers. Actions can change it later; see Change container properties with actions.
- Maximizable: adds a maximize icon to the object’s header so viewers can enlarge it. While you edit, the icon is disabled and shows “Disabled in Edit mode”; try it in preview.
Titles
Section titled “Titles”Show title, Show subtitle and Show footnote each turn one line of text on or off. Type the text in the box below each switch.
Frame sets the object’s background and border: Background color, Opacity, Radius and Border, with Line style, a line width in pixels and Line color. On a Number object, threshold settings can override the background color.
Padding and margin
Section titled “Padding and margin”Both take values in pixels. Padding is the space between the object’s content and its titles. Margin is the space between the content with its titles and the edge of the frame. Turn on Independent padding or Independent margin to set each side separately. When titles are off, padding and margin have the same effect.


Position and size
Section titled “Position and size”Position sets where the object’s top left corner sits, and Size sets its width and height. Both take percentages of the area that holds the object: the sheet, or the group the object is in.
- Position has a left and a top value, measured from the top left corner (0, 0). An object can run past the right or bottom edge; at 100, 100 it starts at the bottom right corner and is off the sheet.
- Size has a width and a height. Width is a share of the sheet’s width and height a share of its height, so equal values make a square only on a square sheet. Select Constrain proportions to keep the ratio of width to height when you change one of them.
Description
Section titled “Description”Text you enter in Description puts an information icon in the object’s header. Viewers hover over the icon to read it. Plain text can be up to 250 characters long.

Export
Section titled “Export”Export is available on visualizations and filters. It adds export icons to the object’s header and sets the export options:
- Show Export to CSV icon, Show Export to XLSX icon and Show Export to Image icon: each adds one icon that exports the object. They are off by default, and the icons appear only where export is available for the workbook and the object.
- Export Context menu options: which formats the object’s menu offers, from CSV, XLSX, Image and PDF. All four are selected by default.
- Image export file type (PNG or JPEG, default JPEG), Image export width and Image export height: the image that Export to image produces.
Custom buttons
Section titled “Custom buttons”Custom buttons sit in the object’s header beside the export, description and maximize icons, and run actions. A button could, for example, refresh data or export a PDF.
- In Custom Buttons, select +. The new button is named Quick Action, with the tooltip “Run action”.
- Set its fields:
- Name: names the button in actions. Each name in an object is unique; a duplicate gets a number added.
- Icon: a fixed icon, or a variable that holds an icon name so the icon can change.
- Tooltip: the text shown when a viewer hovers over the button.
- Visibility rule: a true or false variable that shows or hides the button.
- Enable state: a true or false variable that enables or disables the button.
- In actions, handle the button with the block that runs when an object type emits an event. Each button emits On Click, On Hover and On Hover Exit. A disabled button emits no hover events.
The Visibility rule and Enable state lists only offer true or false variables, and stay empty until the workbook has one. Without a variable, a button is visible and enabled. Button icons take the color of the theme’s title font. When the header has no room for every icon, the rest move into a menu. Drag a button’s handle to change the order.

Variable scope
Section titled “Variable scope”A variable scope lets the same variable hold a different value in different parts of a workbook. When an object or group has its own scope, it and the objects inside it read and set the scope’s copy of each variable instead of the workbook-wide value. Objects without their own scope use the scope of the group around them, or the workbook-wide value.
For example, three copies of a chart driven by a variable selected_metric can each have their
own scope, set to Revenue, Cost and Profit. The charts share the same set-up and show three
different results.
- Select the object or group and open its Container tab.
- In Variable Scope, turn on Enable variable scope.
- Optional: under Use scope default for variables:, select +, choose a variable and enter its default in this scope. Without one, the variable starts with its workbook-wide value. The workbook-wide default does not change: a date variable can default to today for the workbook and to last month inside one scope.
In actions, a scope is named after the object’s Name. Wrap variable blocks in the Scope block to read or set the values in one scope. The On scope created trigger runs each time a scope starts, and Get created scope returns that scope’s name. See Variables for variables in general.

Accessibility
Section titled “Accessibility”In Accessibility [ARIA], ARIA Hidden hides the object from screen readers.
Change container properties with actions
Section titled “Change container properties with actions”Actions can read and change container properties with the Get object container and Set object container blocks. They cover the frame, margin, padding, position, size, titles and visibility.
Reuse an object as a linked copy
Section titled “Reuse an object as a linked copy”A linked copy shows another object or group, its master, and follows every change to it, including the actions it runs. Use one for something that repeats across sheets, such as a navigation button or a shared KPI, so you edit it in one place.
- Right-click the object you want to reuse and select Copy.
- Right-click where you want the copy and select Paste as linked.
Paste as linked is available only when you copied one object, from the same workbook, and that object is not itself a linked copy. You cannot duplicate a linked copy.
A linked copy’s Container tab has only Settings, Master link, Position and Size, so its name, visibility, maximize setting, position and size are its own and everything else comes from the master. Master link shows the master’s name; select Go to master object to open the sheet that holds it.
Embed a web page with the Iframe object
Section titled “Embed a web page with the Iframe object”The Iframe object shows an external web page, app or video on a sheet. The external site receives the full address, including any query string and an address taken from a variable, and, as with any embedded page, the address of the Astrato page that shows it. It cannot read workbook data beyond what that address contains, and it does not take part in filtering. Astrato only sets the address; the embedded page controls its own scrolling and styling.
Before you start: the page’s domain must be allowed in your workspace’s Content Security Policy. An administrator adds it; see Manage Content Security Policy origins.
- In the left menu, select Graphics, then Iframe.
- On the Iframe tab, open Style and enter the URL, or pick a variable that holds it. Query strings are allowed.
- Resize the object to fit the page.

While you edit, the frame does not respond to clicks, so you can select and move the object. The
page loads in each viewer’s browser, so every viewer must be able to reach the address; an address
such as localhost that only works on your own machine does not load for anyone else.
For a YouTube video, allow www.youtube.com and use the embed address,
https://www.youtube.com/embed/VIDEO_ID, with your video’s ID in place of VIDEO_ID, and size
the object to 16:9.
If the frame stays blank, check that:
- the domain is on the Content Security Policy list;
- the page is served over HTTPS;
- the site allows framing. A site that sends
X-Frame-Options: DENYorSAMEORIGIN, or aContent-Security-Policy: frame-ancestorsdirective that leaves out your Astrato domain, does not load in a frame. Ask the site’s owner to allow your Astrato domain. If only some pages load, the site may allow framing on some paths only.
If the page asks you to sign in again and again, the site may need third-party cookies or a full-page sign-in. Open it in its own tab instead.
To do the opposite and show an Astrato dashboard on your own site, see Embed an Astrato dashboard in your web app.