Skip to content

Panel examples ​

Complete operator panels, built step by step, that you can copy for your own graphics.

Each example says what the operator does on air, what the data looks like, and how the panel is built: its controls, then its logic. The names and numbers in them are made up.

Election results by district ​

The operator chooses a city, then one of its districts; the bar chart shows that district's parties and votes, highest first, under the title "City, District".

The Election Results chart in the preview: Northvale, Old Town, with four bars for Green Alliance, Yellow List, Blue Party and Red Front and their votes

The data ​

One table, results, in a spreadsheet or database file, with a row for each party in each district:

city_idcitydistrict_iddistrictpartyvotes
1Northvale12Old TownGreen Alliance12599
1Northvale12Old TownYellow List10741
…

Each city and district has an id as well as a name. The lists send the ids to each other, and show the names.

The controls ​

The Panel Designer for Election Results: the City and District lists, the Results database and the Update graphic button on the Results tab, with No problems in the toolbar and Available to operators switched on

Open the chart's details and select Design Operator Panel. Add:

ControlHow to set it
List, label CityFrom data source on. Choose Source...: the file, table results. Show (label) city, Send (value) city_id, Hide duplicates on, Sort by ascending.
List, label DistrictThe same source. Show (label) district, Send (value) district_id, Hide duplicates on. Filter by city_id.
Database, label ResultsThe same source, sorted by votes, highest first. Filter by district_id. Rows At Once 4: one row for each bar.
ButtonFrom PROPERTIES, the chart's update trigger. Label it Update graphic.

Hide duplicates matters here: without it, the City list shows each city once for every row of the table.

The logic ​

The Logic Editor for the election panel: List City and List District, Database Results with party 1 to 4 and votes 1 to 4, Join Text, Constant 4, and a chain of Set Property nodes for title, itemCount and each bar's label and value

Select Logic and wire:

  1. City › Value into District › city_id, and District › Value into Results › district_id. Choosing a city now narrows the districts; choosing a district reads its four rows.
  2. A Join Text with Separator , : City › Label into Part 1, District › Label into Part 2. Its Text goes into a Set Property whose target is title.
  3. A Constant 4 into a Set Property for itemCount, so the chart shows four bars.
  4. One Set Property per bar value: item01 › label takes party 1, item01 › value takes votes 1, and so on to item04 › value.
  5. The steps: Results › On Row Changed into the first Set Property's In, then each Done into the next one's In.

Wire the lists' Value, not their Label, into the filters: ids match the table exactly, names may not. The panel check warns if a filter is fed by a Label. With everything wired, it reads No problems.

Turn on Available to operators and Save.

On air ​

Item Configuration for Results by district: City with Northvale selected, District with Old Town selected, the Results database on Row 1 of 4, and Update graphic

Select an item made from the chart. Its panel opens on the city and district chosen last, and reads the table again, so the votes are the latest.

The same panel after choosing Southmere: the District list is empty, with an amber border and a hand mark, and the database shows Row 0 of 0

Choose another city, and the District list empties and asks for a choice. Until you choose, the chart keeps the last district's results.

The rundown with Results by district marked CHOOSE BEFORE AIR in amber under its name

The item's row in the rundown says CHOOSE BEFORE AIR, even with the panel closed.

The Nothing chosen yet question: nothing is chosen in District, the item still holds the previous choice's data, with Take anyway and Choose first

Taking it in then asks first: Choose first is the default, so Enter or Esc takes nothing. Choose a district before taking it to air.

The chart after choosing Southmere and Riverside: the title reads Southmere, Riverside and the four bars show Riverside's votes

Choose the district, and the title and bars change. TAKE plays what the preview shows; on air, Update graphic plays the chart's update animation with the new numbers. Whether a change goes to air at once depends on the panel's mode: see Staged, On Air and Armed.

Countdown with a clock ​

The title counts down to the close of polls, and changes by itself at zero; the time on the graphic follows the clock. The big figure shows turnout, set on the item as usual.

The Polls Countdown graphic in the preview: POLLS CLOSE IN 0:14 as its title, Northvale and Southmere, and 64 with turnout so far, % under it

The controls ​

The countdown panel in Item Configuration: the Countdown timer at 0:14 with its pause and reset buttons, the Clock, and the Title and Time fields following them

ControlHow to set it
Timer, label CountdownDirection Count down, Start (sec) the time left (1800 for 30 minutes), Target (sec) 0, Format mm:ss, Show buttons on.
ClockFormat HH:mm.
Text, from PROPERTIES › TitleThe graphic's title. The logic fills it.
Text, from PROPERTIES › Timestamp, label TimeThe time on the graphic. The logic fills it.

The timer's buttons start, pause and reset it.

The logic ​

The Logic Editor for the countdown: Timer Countdown into Format and Compare, a Constant 0, Compare into Select with a Constant POLLS ARE NOW CLOSED, Select into the Title control, the Clock into the Time control, and Reached into Fire Trigger

  1. Countdown › Value (such as 14:59) into a Format with Pattern POLLS CLOSE IN {}.
  2. Countdown › Seconds into A of a Compare with Operator<=, and a Constant 0 into its B: true once time is up.
  3. A Select: the Compare's Result into If, a ConstantPOLLS ARE NOW CLOSED into True, the Format's Text into False. Its Result into Title › Set Value.
  4. Clock › Text into Time › Set Value.
  5. Countdown › Reached into a Fire Trigger for update, so the new title plays in when time is up.

A wire into a control's Set Value keeps it following: the title changes every second without any step wired.

On air ​

The graphic at zero: the title reads POLLS ARE NOW CLOSED

Take the item in, then start the timer with its play button. At zero the title changes and the update animation plays.

Weather round-up ​

The graphic steps through the cities by itself, one every few seconds, each with its temperature and conditions.

The Weather Board graphic: Northvale, Temperature now, 14°C and Light rain

The data ​

One table, weather: city, temperature, conditions, a row per city.

The controls ​

The weather panel: the Database reading weather.db, on Row 1 of 5, with its step buttons and the carousel running

One Database, label Cities: the table, Rows At Once 1, Auto-Advance Interval (s) 6, Auto-Start Carousel on.

On the item, Unitsuffix is °C, so the figure reads 14°C.

The logic ​

The Logic Editor for the weather panel: Database Cities with its city, temperature and conditions values wired into three Set Property nodes chained one after the other, then into Fire Trigger

  1. Cities › On Row Changed into a Set Property for title, its Done into one for item01 › value, that one's Done into one for item01 › label, and that one's Done into a Fire Trigger for update.
  2. Cities › city into the first Value, temperature into the second, conditions into the third.

On air ​

The next city six seconds later: Southmere, 19°C, Sunny spells

Take the item in. Each time the Database moves to the next row, the title, figure and conditions change and the update animation plays. Its own buttons step back and forward, or pause the carousel.

See also ​

airZ Controller manual