48Industries
500+Subsystems
1000+Projects
18Years
Lesson 8 of 1518 min

Building a 2D Dashboard

Goal

Build a 2D dashboard, place elements from the palette onto the canvas, adjust their appearance and layout, and save, duplicate, export, or delete the dashboard.

Where in the software

«طراحی سیستم» ← «طراحی داشبورد» ← «داشبوردهای من» ← «داشبورد جدید» — «طراحی سیستم» ← «طراحی داشبورد» ← «داشبوردهای من» ← «داشبورد جدید» — «طراحی سیستم» ← «طراحی داشبورد» ← «داشبوردهای من» ← «داشبورد جدید» — System Design → Dashboard Design → My Dashboards → New Dashboard

A 2D dashboard is the most common operating view: a canvas on which text, live point values, charts, gauges, command buttons, and floor-plan images are arranged together. In this lesson you build a 2D dashboard, place elements from the palette onto the canvas, adjust their appearance and layout, and save, duplicate, export, or delete the dashboard. Connecting elements to data and commands is covered in the next lesson (B9).

Get to know the screen

Work starts on the داشبوردهای من (My Dashboards) page; its path is «طراحی سیستم» ← «طراحی داشبورد» ← «داشبوردهای من» (System Design → Dashboard Design → My Dashboards). This page lists every dashboard in the project in collapsible groups: داشبوردهای سیستمی (System Dashboards), داشبوردهای دوبعدی (2D Dashboards), داشبوردهای سه‌بعدی (3D Dashboards), داشبوردهای لیستی (List Dashboards), داشبوردهای خودکار (Automatic Dashboards), داشبوردهای نقشه (Map Dashboards), داشبوردهای ترکیبی (Combined Dashboards), داشبوردهای موبایل (Mobile Dashboards), and الگوها (Templates).

SectionPurpose
داشبورد جدید (New Dashboard) and وارد کردن داشبورد (Import Dashboard)Create a new dashboard, or import a file exported from another installation
Stat cardsکل داشبوردها (Total Dashboards), فعال (Active), علاقه‌مندی‌ها (Favorites), سیستمی (System)
جستجوی داشبورد... (Search dashboards...)Search by title
مرتب‌سازی (Sort)آخرین تغییرات (Last Modified), عنوان (الفبا) (Title (A-Z)), نوع داشبورد (Dashboard Type), بیشترین بازدید (Most Viewed), تاریخ ایجاد (Date Created)
وضعیت (Status)همه (All), فعال, پیش‌نویس (Draft)
Each card's three-dot menuویرایش (Edit), کپی (Duplicate), اشتراک‌گذاری (Share), صدور (Export), حذف (Delete)
My Dashboards page
My Dashboards · the "New Dashboard" button, stat cards, and the "System Dashboards" group

The 2D designer has three regions:

  • Top bar: the ذخیره (Save) button, back to list, undo and redo, zoom, the تراز: (Align:) and توزیع: (Distribute:) tools, and the وارد کردن داشبورد and صادرات داشبورد (Export Dashboard) buttons. Below the title, the tool's name (Dashboard Designer) is shown.
  • Right side panel: two tabs, لایه‌ها (Layers) (a list of every element on the canvas, with show/hide, lock, and delete) and Components (the element palette). لایه‌ها is open by default.
  • Left properties panel: four icon tabs whose names show only on hover: ویژگی‌ها (Properties) (gear icon), ENIDs (chain icon), Styles (color palette icon), and پس زمینه (Background) (landscape icon). Until an element is selected, the message هیچ عنصری انتخاب نشده (No element selected) is shown.

The palette has 24 elements in 10 groups. Group and element names are shown in English in the interface:

GroupElementsPurpose
ContainersPanelA grouping frame with background and border
Basic WidgetsText, Value Display, Button, ImageTitle and label, a point value with unit, a command button or link, a logo or floor plan
Charts & GaugesChart, Gauge, Gauge ProTime-series chart and gauge
Advanced ControlsSwitch Pro, Slider Pro, Knob, ThermostatCommand controls: switch, slider, knob, and thermostat
Media & DisplayWeb View, Camera, AnimationWeb page, camera feed, simple animation
NavigationDashboard LinkJump to another dashboard
Time & DateClock, WeatherClock and weather
BMS EquipmentBMS Animation, Animation ProAnimated equipment such as pumps, fans, valves, and chillers
3D ObjectsObject 3D, 3D DashboardA single 3D object, or an embedded 3D dashboard
Data DisplayAdvanced List, equipment status cardsAn advanced table and graphical equipment monitoring cards

Step by step

  1. Open the dashboards page. From the menu click «طراحی سیستم» ← «طراحی داشبورد» ← «داشبوردهای من», then click داشبورد جدید.
  2. Fill in the creation dialog. In the ایجاد داشبورد جدید (Create New Dashboard) window:
    • عنوان داشبورد * (Dashboard Title *): for example "Server Room — Floor 2". Maximum 255 characters.
    • نوع داشبورد * (Dashboard Type *): داشبورد 2D (2D Dashboard) (default). The other options are داشبورد 3D (3D Dashboard), داشبورد لیستی (List Dashboard), داشبورد نقشه (Map Dashboard), داشبورد خودکار (Automatic Dashboard), داشبورد ترکیبی (Combined Dashboard), and داشبورد موبایل (Mobile Dashboard).
    • سطح دسترسی (Access Level): خصوصی (فقط من) (Private (only me)) (default), عمومی (همه) (Public (everyone)), or بر اساس نقش (Role-based).
    • If needed, توضیحات (Description) (up to 500 characters), آیکون (Icon), and تگ‌ها (Enter برای افزودن) (Tags (press Enter to add)). Type each tag and press Enter.
    Then click ایجاد داشبورد (Create Dashboard). The message "Dashboard '…' created" appears.
    Create New Dashboard dialog
    Create New Dashboard · the "Dashboard Type *" list is open; "2D Dashboard" is the default
  3. Open the designer. Find the new dashboard in the داشبوردهای دوبعدی group and click its card. Clicking a 2D dashboard card opens the designer directly.
  4. Prepare the canvas. In the properties panel, open the پس زمینه tab (landscape icon). Under اندازه بوم (Canvas Size) set the canvas dimensions. To place a floor plan or map, click تصویر پس زمینه (Upload Image) under آپلود تصویر (Background Image). Allowed formats are JPG, PNG, and WebP, up to 5 MB. After upload, the message "Image uploaded successfully!" appears. The same tab also has background color and gradient, plus فیلترها (Filters) (brightness, contrast, saturation).
    Background tab in the 2D designer
    Background tab · the "Canvas Size" and "Background Image" sections, with the "Upload Image" button
  5. Add an element. In the right panel open the Components tab and click an item — for example first a Panel, then a Text, then two Value Displays. The element appears on the canvas at its default size (for example Panel 300×300, Value Display 150×80, Button 120×40) and the message Element added appears. Elements are added by clicking, not by dragging from the palette.
    Component palette, upper section
    Palette, upper section · Containers through Advanced Controls
    Component palette, lower section
    Palette, lower section · Media & Display through Data Display
  6. Set position and size. Drag the element on the canvas, or in the ویژگی‌ها tab, under موقعیت و اندازه (Position and Size), enter exact X, Y, عرض (Width), and ارتفاع (Height) values. Arrow keys also move the selected element; hold Shift for a finer step. The G key toggles the grid, R the ruler, and S snap-to-grid.
  7. Adjust the appearance. Every element shares these sections in the ویژگی‌ها tab:
    • تبدیل (Transform): چرخش: (Rotation:), قابل مشاهده (Visible), قفل شده (Locked)
    • ظاهر (Appearance): رنگ پس زمینه (Background Color) and opacity
    • گرادیان (Gradient), انیمیشن (Animation)
    • حاشیه (Border): width, style (solid, dashed, etc.), color, and شعاع حاشیه: (Border radius:)
    • فاصله (Spacing) and جلوه ها (Effects) (shadow)
    • طرح بندی (Layout): Z-Index, i.e. stacking order — a higher number sits in front
    After these come settings specific to each element type. For a Value Display, for example, there is a تنظیمات مقدار (Value Settings) section (prefix, suffix, واحد (Unit), مکان های اعشاری: (Decimal places:)) and a تنظیمات برچسب (Label Settings) section.
    A selected Panel in the designer
    Selected element · the "Position and Size" section is open, with the remaining property sections listed below it; on the right, the "Layers" tab
  8. Arrange several elements. Select multiple elements together (Ctrl+A selects all) and, from the top bar, use one of the تراز: tools (for example تراز کردن در بالا (Align top)) or توزیع: (توزیع افقی (فضا به طور مساوی) (Distribute horizontally (equal spacing))). Distribute needs at least two selected elements. Use آوردن به جلو (Bring to front) and ارسال به عقب (Send to back) to reorder elements; press Ctrl+D to duplicate an element.
  9. Save. Click ذخیره or press Ctrl+S. The message Saved (N elements) shows how many elements were saved. The designer also autosaves every 30 seconds. There is no separate publishing step: whatever is saved becomes available to users under the سطح دسترسی chosen at creation time.
  10. Leave the designer. Click بازگشت به لیست (Back to list) (the arrow beside the title). If there are unsaved changes, the prompt "Unsaved changes. Leave the designer without saving?" appears.
  11. Manage the dashboard. In داشبوردهای من, from the card's three-dot menu:
    • کپی: creates a fresh copy (message "Dashboard '…' duplicated").
    • صدور: outputs the dashboard file.
    • حذف: deletes it after confirming "Are you sure you want to delete dashboard '…'? This action cannot be undone."
    To move a dashboard entirely to another installation, from inside the designer click صادرات داشبورد → ZIP (کامل) (ZIP (complete)). This option "includes images" and is labeled "recommended". The JSON option outputs "settings only". On the destination installation, load the file with وارد کردن داشبورد.
    Export Dashboard menu
    Export Dashboard · the "ZIP (complete)" option with images, and the settings-only JSON option
Behind the scenes: a dashboard's entire content (elements, positions, appearance, bindings, and background) is stored as a single document on the server. That document is capped at roughly 5 million characters; a dashboard that embeds a lot of large images can hit that ceiling. Undo history is kept for up to 50 steps. The server checks save permission: the dashboard owner and Master/System-level keys can always save; for a public dashboard, an administrator can save as well. Otherwise the save is rejected.

Tips and common mistakes

  • Clicking a 2D dashboard card opens the designer, not the end-user view. See the live view under «پیشخوان‌ها» ← «دیدکلی» (Consoles → Overview).
  • Choose the dashboard type correctly at creation time. The type list on the dashboard edit page is not the same as the list in the creation dialog.
  • Messages inside the designer are in English, such as Saved, Deleted, Duplicated, and Aligned. This is expected behavior.
  • The in-designer help text talks about "dragging" an element from the palette, but adding an element is done only by clicking.
  • The الگوهای داشبورد (Dashboard Templates) and مدیریت رسانه (Media Management) pages are demonstrational in the current version. Building a dashboard from a template is not active in this version; load the floor plan image from the پس زمینه tab inside the designer itself.
  • Do not import a file exported from a 3D dashboard into the 2D designer; the system rejects it.
  • If the title is left blank, the message "Dashboard title is required" appears and the dashboard is not created.

Summary

  • A 2D dashboard is created from "My Dashboards" → "New Dashboard" with type "2D Dashboard".
  • The palette has 24 elements in 10 groups; elements are added by clicking an item.
  • An element's position and appearance are set in the "Properties" tab, and the canvas and floor plan in the "Background" tab.
  • "Save" (or the 30-second autosave) is the publish step; "Access Level" determines who can view it.
  • To move a dashboard to another installation, use "Export Dashboard" → "ZIP (complete)", and "Import Dashboard" on the destination.

Hands-on exercise on the live demo

Work on the public demo (bms.argsrv.com, project "ARG Holding"). Do not change or delete existing demo data or dashboards.

  1. In داشبوردهای من, create a dashboard titled "Exercise — your name", with نوع داشبورد * = داشبورد 2D and سطح دسترسی = خصوصی (فقط من).
  2. In the designer, from Components add a Panel, a Text with the text "Server Room", and two Value Displays, and arrange them inside the Panel.
  3. Select the two Value Displays together and align them with تراز کردن در بالا.
  4. Click ذخیره and confirm the Saved message.
  5. Finally, delete the exercise dashboard from the card's menu using حذف.

If the demo account does not allow saving, go only as far as the preview stage: fill in the creation dialog, then open one of the existing 2D dashboards and just review the palette, the properties panel tabs, and the صادرات داشبورد menu, without saving anything.

Open the live demo

Lesson check

Answer at least 3 of 4 correctly to pass.

  1. 1. What must you do to add a Value Display element to the canvas?
  2. 2. Which element belongs to the Advanced Controls group?
  3. 3. How often does the 2D designer autosave?
  4. 4. To move a dashboard, together with its images, to another installation, which option is correct?