atvise
3.11.0
  • Welcome to atvise
  • How to use this help
  • Before you start
    • System Requirements
    • Migration Information - short description
    • Information for SVG
    • Software License Agreement
  • Installing & licensing
    • Installing atvise
    • Licensing
      • Getting an atvise webMI or scada license
      • atvise scada CCD licensing
      • Fixed client licensing
      • Web client licensing
      • Data source licensing
      • Mirrored variable licensing
  • Tutorials
    • First steps: atvise scada
      • 1 Starting atvise
      • 2 Start and connect atvise builder
      • 3 The first display
      • 4 Dynamics
        • 4.1 The first dynamics
        • 4.2 Using predefined controls
        • 4.3 Using quick dynamics
        • 4.4 Using simple dynamics
      • 5 Connecting to a foreign server
      • 6 Object-oriented engineering
      • 7 Adding an object display
      • 8 Adding historization
      • 9 Adding alarms
      • 10 Adding user rights
    • First steps: atvise webMI
      • 1 Start atvise
      • 2 Add server and import data variables
      • 3 Draw a display and generate visualization
      • 4 The visualization
      • 5 Parameterization option 1 - direct addressing
        • 5.1 Using predefined controls
        • 5.2 Using quick dynamics
        • 5.3 Using the simple dynamics dialog
      • 6 Parameterization option 2a - object oriented
      • 7 Parameterization option 2b - object oriented
      • 8 Parameterization option 3 - display at the object type
    • How-tos
      • Configure access control for the first time
      • Mirror alarms considering access control and user mapping
        • Data source configuration
        • Configuring "ds_atvise"
        • Configuring the main project
  • Security
    • atvise access control
      • Introduction
        • Basics
        • Overview
      • Common use cases
      • Information & notes
        • Default rights
        • Engineering
          • Quick Dynamics
          • Version control
          • Alarming
          • Scripting
          • Inheritance
          • Overriding instances
        • Visualization
          • Cookie support
          • Resources
          • Object display rights
          • Configuration nodes for graphics elements
    • Certificates
      • Introduction
        • Certificate management basics
        • Usage of certificates in atvise
      • Configuration
        • Command line parameters
        • atvise server
        • atvise builder
        • Basic settings for self-signed certificates
      • Application Instance Certificate
        • X.509v3 format
      • Certificate store
        • Server applications
        • Client applications
        • Directory structure
          • Certificate chains in atvise
      • Certificate management
        • atvise builder
          • Connection certificates
          • User certificates
        • atvise server
      • First connection using self-signed certificates
        • Connecting atvise builder and server
        • Login with user certificates
        • Connecting to data sources
  • Reference manual
    • Overview of the atvise components
    • atvise visualization
      • Introduction
        • User interface
      • Login & authentication
        • Login
        • Two-factor authentication
        • User information
      • Logout & auto reconnect
        • Logout
        • Auto reconnect
      • Navigation
        • Components
          • Display "navigation"
        • Examples
          • Creation of a custom menu
          • Visibility and animation
          • Limitation of the passed parameters
      • Alarm list
      • History list
      • Responsive Design Lite
      • Scaling
      • Tab Handler
      • Highcharts Trend
        • Main display
        • Configuration dialog
      • Tooltips
      • Consistency handler
      • Preloading
      • URL parameters
      • webMI events
      • Timer
      • HTML table
        • Components
          • Display "table"
          • Display "table_panel"
          • Display "table_footer" (status bar)
          • Display "table_notification"
        • Runtime mode (loading data)
        • Security mechanisms
        • Coding and reference
          • First steps
          • Basic structure of the configuration
          • Parameters of the configuration
          • Using the table controller
        • Formatting column contents
        • Customizing table appearance
      • Archive Management
        • Display
        • Configuration
        • Using the display
      • Logger
      • Access control event log
      • Recipe management
        • Manage recipe templates
        • Edit recipe templates
        • Manage recipes
        • Edit recipes
        • Activate recipes
          • Recipe picker
          • Recipe picker (small)
    • atvise server
      • Introduction
      • atserver.ini
      • Default import and standard resources
      • Statistics of atvise server
    • atvise monitor
      • Basics
      • Licensing
      • Server and project console
    • atvise builder
      • Introduction
        • Command line parameters
        • Server connection dialog
        • Overview
          • 1. Menu
          • 2. Tree
          • 3. Editor and Viewer
          • 4. Global Search / Message / Library
      • Menu
        • Introduction
        • Global Search
        • Project history and change log
        • XML export and import
        • atvise live
        • Version Control
          • Configuration
          • Export / Import
        • Access Control
          • Settings…
          • Access control editor
            • 1. Nodes
            • 2. Groups
            • 3. Rights
          • Edit Current User…
      • Tree
        • Introduction
        • Add and edit server
        • webMI server
          • Introduction
          • Objects - Importing
          • Generate visualization
        • My Server
          • Introduction
          • Handling data sources
            • Introduction
            • Add data source
              • Add OPC UA data source
              • Add redundant data source
              • Add atvise connect data source
              • Add atvise OPC UA to S7 data source
              • Add OPC COM data source
              • Add webMI data source
              • Add SNMP data source
            • Import methods from data sources
            • OPC COM configuration
              • atvise x64 server
              • OPC DCOM
          • Objects
            • Creating a data structure
            • Mirror variables from data sources
              • Mirror variables from data sources
              • Direct - absolute mirroring
              • Object oriented - relative mirroring
              • Manual adding/editing of mirror properties
            • Adding scripts to nodes
          • Alarming
            • Configuration
              • Alarm categories
              • Prevention and modification scripts
              • Alarm configuration
            • Alarm groups and sum alarms
            • Alarm statistics
            • Mirroring
              • General
              • Conditions
              • Field mapping
              • Colors and flash intervals
          • Historizing data
            • Add Archive Group
              • Data
              • Aggregate
              • Event
            • Historizing (and aggregating) a node
            • Pass-through queries
            • Synchronization
            • Query history
            • Swapping in/out archive files
            • Historization settings
          • Aggregating data
            • General
            • Aggregate functions
            • Parametrization of aggregates
            • Query of aggregates
          • Diagnostics
          • SMTP settings
          • HTTP settings
            • Creating and configuring web servers
              • Using NTLM
              • Login / Logout script
              • Protected calls
              • Modifying the HTTP header
              • Unauthorized Response Script
              • Access Denied Displays
            • Using HTTPS
        • Global parameters
          • Default global parameters and lists
          • Adding a global parameter
          • Adding a global list
        • Manage displays
        • Layouts
        • Edit quick dynamics
        • Adding displays to variable types
        • Languages
          • Translation editor
          • Using translations in builder
          • Displaying translations
        • Users and groups
          • Users
          • Groups
        • Cross references
        • Views
        • Menu scripts
      • Display Editor
        • Introduction
        • Graphical Editor
          • Introduction
            • Basic element handling
          • Editor functions
            • Standard functions
            • Grid, snap, zoom and freeze
            • Edit items
            • Drawing shapes
            • Attributes and styles
            • Context menu functions
            • Keyboard Shortcuts
          • Dynamics
            • Simple dynamics
              • Introduction
              • 0. RIGHT
              • 1. EVENT
              • 2. RESULT
              • 3. ACTION
              • Examples
            • Quick Dynamics
          • SVG attributes
          • Display parameters
          • Object-oriented parameterization
          • Example: Simple bar display
        • Code Editor
      • Quick Dynamics
        • Access Control Element Notifier
        • Access Control Manager
          • Usage
        • Acknowledge Alarm
        • Aggregate Manager
        • Alarmmanagement
        • Auto Logout
        • Auto Reconnect
        • Change Color by Alarm
        • Change Color by Node
        • Change Display by Node
        • Change Display on Event
        • Change Opacity
        • Change Stroke by Node
        • Change Visibility and Blinking
        • Configuration
        • Consistency Handler
        • Disk Space Monitoring
        • Element menu
          • Usage
        • Element Menu Default Items
        • Element Menu Manager
        • Index
        • Login handler
          • Usage
        • Move
        • Navigation
        • Open Context Menu
        • Open Element Menu
        • Open Main Menu
        • Open Picker
        • Open PopUp
        • Performance Measurement
          • Usage
        • Show Redundancy Information
        • Rotate
        • Save As
        • Scale
        • Set Node
        • Set Slider Horizontal
        • Set Slider Vertical
        • Set Text
        • Tab Handler
        • Time Formats
          • splitTime()
          • splitTimeToString()
        • Tooltip
        • Tree View
          • collapse()
          • collapseAll()
          • expand()
          • expandAll()
          • getSelectedNode()
          • selectNode()
          • setTreeStructure()
          • setSelectableTypes()
          • filter()
          • off()
          • on()
          • destroy()
        • Write Log Entry
      • Object Displays
        • Archive management
          • Add Schedule
          • Archive Management
          • Auto-Scheduler Management
          • Confirmation Dialog
        • Dashboard
          • Charts
            • Bar
            • Gauge
            • Pie and Doughnut
            • Progress Bar
          • Base Custom Tile
          • Base Value Tile
          • Chart Bar Tile
          • Chart Gauge Tile
          • Chart Line Tile
          • Chart Progress Bar Tile
        • Dialogs
          • Alarm Comment Dialog
          • Timed Shelve Dialog
          • Date Picker Dialog
          • E-mail configurator
          • Login Dialog
          • Login Dialog (2FA)
          • Message Board
          • Message Dialog
          • Message Dialog (Small)
          • Color Picker Dialog
          • User Editor
          • Password Editor
        • Highcharts
          • Button Back
          • Button Back (Small)
          • Configuration Selector
          • Button Forward
          • Button Forward (Small)
          • Time Range Selector
          • Chart Container
          • Legend Table
          • Main Display
          • Main Display (800x425)
          • Main Display (800x900)
          • Configuration - Top Display
          • Configuration - Top Display (Small)
          • Configuration - General
          • Configuration - General (Small)
          • Configuration - Save/Load
          • Configuration - Save/Load (Small)
          • Configuration - Series
          • Configuration - Series (Small)
          • Configuration - Bar/Column
          • Configuration - Bar/Column (Small)
          • Configuration - Line/Area
          • Configuration - Line/Area (Small)
          • Configuration - Pie
          • Configuration - Start
          • Configuration - X-Axis
          • Configuration - X-Axis (Small)
          • Configuration - Y-Axis
          • Configuration - Y-Axis (Small)
          • Toolbar
        • HMI
          • Access Control Log
          • Access Control Log Dialog
          • Alarmlist
          • Alarmlist Log
          • Alarmlist Popup
          • Alarmlist (Small)
          • Alarmlist (Small - Portrait)
          • Alarmlog Three Rows
          • Alarmlog One Row
          • Alarmlog Three Rows (Small)
          • Background Area
          • Button/Display Login
          • Group Alarm
          • Group Display
          • Group Zoom
          • Button Login
          • Button Switch Language
          • Button/Display Language
          • Button Reset Zoom
          • Button Zoom-In
          • Button Zoom-Out
          • Button Zoom-Area
          • Clock Analog
          • Clock Combined
          • Display Date
          • Historylist
          • Historylist (800x425)
          • Historylist (800x900)
          • iFrame: To Display a Display
          • Display Time
          • Display Time Advanced
          • Topframe Large (1280x120)
          • Topframe (1024x210)
          • Topframe Small (800x120)
          • Topframe One Row
          • Display User
          • Datasource State
        • Keyboard
          • Alphanumerical Keyboard
          • Numerical Keyboard
        • Layoutelements
          • Language Box (357x65)
          • Language Box (178x65)
          • User Box (358x65)
          • User Box (246x65)
          • Button Alarmlog
          • Button Alarmlog (Small)
          • Button Custom
          • Button Custom (Small)
          • Button Favorites
          • Button Favorites (Small)
          • Button Favorites (small, half)
          • Group Zoom
          • Button Access Control Log
          • General Log Button
          • Date Element
          • Favorites Name Input
          • Redundancy Info
          • Time Element
        • Logger
          • Button Open Log
          • Log View
          • Log View (Small)
        • Recipe management
          • Add Popup
          • Error Popup
          • Delete Dialog
          • Recipe Editor
          • Recipe Manager
          • Switch Templates/Recipes
          • Recipe Picker (Small)
          • Confirmation Dialog
          • Recipe Picker
          • Recipe Template Editor
          • Recipe Template Manager
        • Redundancy
          • Redundancy State
          • Vitality Table
          • Warning
        • Report
          • Report Editor
          • E-mail configuration
          • Report Management
          • Generate Report Dialog
          • Report Viewer
        • Slickgrid
          • Table
          • Table Footer
          • SVG Keyboard (table extension)
          • Button Table Notification
          • Table Panel
        • Timer
          • Timer
        • Bar Horizontal
        • Bar Vertical
        • Button
        • Button Alarmlist
        • Button Image Display
        • Button Increment/Decrement
        • Button Open Display
        • Button Set Address
        • Button Switch
        • Checkbox
        • Clickarea
        • Combobox
        • Gauge
        • In/Out Date
        • In/Out Date-Time
        • In/Out Password
        • In/Out Time
        • In/Out Value
        • Label
        • Navigation
        • Picker Address
        • Picker Color
        • Picker Date
        • Picker Interval
        • Picker Value
        • Radiobutton
        • Rocker Switch
        • Rocker Switch (Small)
        • Rocker Switch Horizontal
        • Slider Horizontal
        • Slider Vertical
      • Server script editor
    • atvise maintenance tool
      • Introduction
      • Project Database Operations
      • Archive(s) Operations
      • Options
      • Log files
    • Client/Browserside scripting
      • Introduction
      • Configuration
      • General functions
        • webMI.addEvent()
        • webMI.addOnload()
        • webMI.addOnunload()
        • webMI.callExtension()
        • webMI.hasRight()
        • webMI.inList()
        • webMI.sprintf()
        • webMI.query[key]
        • webMI.escapeHTML()
        • webMI.unescapeHTML()
        • webMI.secureString()
        • webMI.getMethodSupport()
        • webMI.getFeatureSupport()
        • webMI.getClientInfo()
        • webMI.getMailPolicy()
        • webMI.getPasswordPolicy()
        • webMI.getSessionID()
        • webMI.localizeNumber()
      • Data functions
        • webMI.data.call()
        • webMI.data.read()
        • webMI.data.subscribe()
        • webMI.data.unsubscribe()
        • webMI.data.subscribeBlock()
        • webMI.data.write()
        • webMI.data.addEventListener()
        • webMI.data.login()
        • webMI.data.logout()
        • webMI.data.changeemail()
        • webMI.data.changepassword()
        • webMI.data.twofactorLogin()
        • webMI.data.twofactorSendMail()
        • webMI.data.twofactorGetOTPAuth()
        • webMI.data.pause()
        • webMI.data.resume()
        • webMI.data.isPaused()
        • webMI.data.queryFilter()
        • webMI.data.queryNext()
        • webMI.data.queryRelease()
        • webMI.data.subscribeFilter()
        • webMI.data.unsubscribeFilter()
        • webMI.data.readFilter()
        • webMI.data.customRequest()
        • webMI.data.loadScript()
        • webMI.data.getRights()
      • Alarm functions
        • webMI.alarm.accept()
        • webMI.alarm.acceptDisplay()
        • webMI.alarm.subscribe()
        • webMI.alarm.unsubscribe()
      • Graphics functions
        • webMI.translate()
        • webMI.gfx.setRotation()
        • webMI.gfx.setMoveX()
        • webMI.gfx.setMoveY()
        • webMI.gfx.setScaleX()
        • webMI.gfx.setScaleY()
        • webMI.gfx.setSkewX()
        • webMI.gfx.setSkewY()
        • webMI.gfx.setFill()
        • webMI.gfx.setVisible()
        • webMI.gfx.createPoint()
        • webMI.gfx.getScreenCTM()
        • webMI.gfx.getAbsoluteOffset()
        • webMI.gfx.getAbsoluteScaleFactor()
        • webMI.gfx.getBoundingClientRect()
        • webMI.gfx.setScaledEvents()
        • webMI.gfx.scaleEventCoordinates()
      • Widget functions
        • webMI.widget.getValue()
        • webMI.widget.setDisabled()
        • webMI.widget.setValue()
      • Display functions
        • webMI.display.openWindow()
        • webMI.display.openDisplay()
        • webMI.display.openUrl()
        • webMI.display.closeWindow()
        • webMI.display.showPopup()
        • webMI.frame.getActiveFrames()
      • Sound functions
        • webMI.sound.play()
        • webMI.sound.stop()
      • Trigger functions
        • webMI.trigger.connect()
        • webMI.trigger.fire()
      • Key functions
        • webMI.keys.addCombinationListener()
        • webMI.keys.addDownListener()
        • webMI.keys.addPressListener()
        • webMI.keys.addUpListener()
        • webMI.keys.isDown()
      • Performance functions
        • webMI.performance.setMarker()
        • webMI.performance.getMarkers()
        • webMI.performance.clearMarkers()
    • SCADA serverside scripting
      • Introduction
      • Conventions
      • Scheduling rules
      • Access control functions
        • conf.setPermissionsForGroup()
        • conf.getPermissionsForGroup()
        • conf.deletePermissionsFromGroup()
        • conf.setPermissionsForNode()
        • conf.getPermissionsForNode()
        • conf.deletePermissionsFromNode()
        • conf.getRuntimePermissionsForNode()
      • Alarming functions
        • alarming.list
        • alarming.conditions
        • alarming.configuration()
        • alarming.read()
        • alarming.conditionid()
        • alarming.groups
        • alarming.group()
        • alarming.acknowledge()
        • alarming.confirm()
        • alarming.comment()
        • alarming.shelve()
        • alarming.unshelve()
        • alarming.suppress()
        • alarming.unsuppress()
        • alarming.disable()
        • alarming.enable()
      • Archive locking functions
      • Certificate functions
        • server.certificates.list()
        • server.certificates.trust()
        • server.certificates.reject()
        • server.certificates.create()
        • server.certificates.upload()
        • server.certificates.read()
        • server.certificates.delete()
        • server.certificates.defaults()
        • server.certificates.expired()
        • server.certificates.syncStores()
        • Constants
        • Certificate object
      • ChildProcess functions
        • ChildProcess
          • ChildProcess.exec()
          • ChildProcess.execAsync()
          • ChildProcess.write()
          • ChildProcess.running()
          • ChildProcess.terminate()
          • ChildProcess.join()
          • ChildProcess.exitCode
          • ChildProcess.stdErr
          • ChildProcess.stdOut
      • Control and diagnostic functions
        • call()
        • execute()
        • lock()
        • console.log()
        • console.info()
        • console.debug()
        • console.warn()
        • console.error()
      • CSVReader functions
        • CSVReader
          • CSVReader.load()
          • CSVReader.parse()
      • Data source functions
      • FileSystem functions
        • FileSystem
          • FileSystem.capacity()
          • FileSystem.freeSpace()
          • FileSystem.copy()
          • FileSystem.move()
          • FileSystem.listRootDirectories()
          • FileSystem.createFile()
          • FileSystem.deleteFile()
          • FileSystem.isFile()
          • FileSystem.fileSize()
          • FileSystem.creationDate()
          • FileSystem.modificationDate()
          • FileSystem.createDirectory()
          • FileSystem.deleteDirectory()
          • FileSystem.isDirectory()
          • FileSystem.listDirectory()
          • FileSystem.directorySize()
      • globals object
        • globals.set()
        • globals.get()
        • globals.has()
        • globals.remove()
      • History functions
        • history.write()
        • history.query()
        • history.queryNext()
        • history.queryRelease()
        • history.aggregate()
        • history.directory
        • history.swapin
      • HTTPClient functions
        • HTTPClient
          • HTTPClient.request()
          • HTTPClient.get()
      • InputFileStream functions
        • InputFileStream
          • InputFileStream.open()
          • InputFileStream.close()
          • InputFileStream.read()
          • InputFileStream.readLine()
      • ODBCClient functions
        • ODBCClient
          • ODBCClient.open()
          • ODBCClient.close()
          • ODBCClient.query()
          • ODBCClient.info()
          • ODBCClient.sources()
          • ODBCClient.types()
          • ODBCClient.tables()
          • ODBCClient.columns()
      • opcua object
        • opcua.readFilter()
      • OutputFileStream functions
        • OutputFileStream
          • OutputFileStream.open()
          • OutputFileStream.close()
          • OutputFileStream.write()
          • OutputFileStream.writeLine()
      • Report functions
        • Report
          • Report.runtimes
          • Report.usedDotnetDeployment
          • Report.generate()
          • Report.save()
          • Report.saveAsPdf()
          • Report.convertToPdf()
          • Report.release()
      • script object
        • script.owner
        • script.caller
        • script.executor
        • script.runContext
        • script.trigger
        • script.priority
      • Security functions
        • checkUserPassword()
        • setUserPassword()
      • server object
        • server.database
          • server.database.backup()
        • server.event.create()
        • server.script.origin
        • server.shared.directory
        • server.statistics
        • server.webaccess.deleteSessions()
        • server.webaccess.getSessionInfos()
      • SMTPClient functions
        • SMTPClient
          • SMTPClient.addAttachment()
          • SMTPClient.send()
      • TCPClient functions
        • TCPClient
          • TCPClient.connect()
          • TCPClient.close()
          • TCPClient.send()
          • TCPClient.receive()
          • TCPClient.shutdown()
      • Translation functions
      • Ua functions
        • Introduction
        • UaNode functions (deprecated)
          • UaNode
            • UaNode.exists()
            • UaNode.create()
            • UaNode.remove()
            • UaNode.browse()
            • UaNode.addreference()
            • UaNode.deletereference()
            • UaNode.assign()
            • UaNode.datahistory()
            • UaNode.datahistoryRelease()
            • UaNode.call()
            • UaNode.good()
            • UaNode.bad()
            • UaNode.uncertain()
            • UaNode.equal()
            • UaNode.toString()
            • UaNode.statusToString()
            • UaNode.nodeclassToString()
        • Ua functions
          • Ua.findNode()
          • Ua.createNode()
          • Ua.readFilter()
          • Ua.Status()
          • Class specific functions
            • Ua.<Class>.remove()
            • Ua.<Class>.browse()
            • Ua.<Class>.addReference()
            • Ua.<Class>.deleteReference()
            • Ua.<Class>.equal()
            • Ua.<Class>.valueOf()
            • Ua.Variable.assign()
            • Ua.Variable.dataHistory()
            • Ua.Variable.dataHistoryRelease()
            • Ua.<Class>.toString()
            • Ua.Method.call()
          • Object properties
          • Constants
      • Version control functions
      • XMLDoc functions
        • XMLDoc
        • XMLNode.attribute()
        • XMLNode.first()
        • XMLNode.last()
        • XMLNode.next()
        • XMLNode.previous()
      • XML export and import functions
  • atvise tools & third-party components
    • atvise builder launcher
      • Requirements
      • Configuration
      • Execution
    • Auto licensing (autolic.exe)
      • Requirements
      • Configuration
        • autolic.ini
        • Command line parameters
      • Usage
    • atvise report
      • Introduction
        • Requirements
        • Basics
        • Overview
      • Template
        • Markup Language
          • Parameters
        • Examples
        • Behavior when inserting data
      • Generating reports
        • Introduction
        • Report configurations
          • Creating report configurations
            • Report Management
            • Report Editor
            • Create reports manually
            • Global settings for e-mail notifications
            • Report viewer
          • Creating reports via visualization
    • Integrating third-party components
      • Integrating Scope 3 into atvise
        • Scope 3 configuration on M1 controller
        • Highcharts configuration with Scope 3 as data source
      • M1 webMI pro
  • Known issues
  • Support and further information
atvise
  • »
  • Reference manual »
  • atvise visualization »
  • Navigation
Next Previous

Navigation¶

The navigation bar extends the Advanced library to display a menu structure. This menu structure can either be mapped automatically from the existing display structure or alternatively from a user-defined structure.

Attention

The use of the quick dynamic with the same name is no longer recommended as of atvise 3.4.1. Likewise, new navigation quick dynamics can no longer be added to displays in the atvise builder!

../../_images/navigation_bar.png

The navigation bar consists of the following main components:

  1. home element

  2. navigation elements

  3. menu items

Conditions

To display symbols, the navigation bar uses parts of the Font Awesome library of version 5.11.2 (https://fontawesome.com/) which is available under a free license.

Hint

In order to display hover effects, the hover detection must be natively supported by the browser (device) on which the navigation is carried out. This support is known to be limited on multitouch devices such as tablets and mobile phones.

Core functions

  • Illustration of a horizontal or vertical menu structure

  • Automatic generation of the menu from the existing display structure

  • Hide and show the navigation bar

  • Optional custom menu

Components¶

The resources consist of the display navigation, the quick dynamic Navigation and the provided Font Awesome resources.

Display "navigation"¶

The navigation display can be used to create horizontal and vertical navigation bars.

Usage

The object display can be freely positioned in any display. The size and positioning correspond to the set dimensions. The display parameters are used to align and set the displayed content.

Alignment and layout

The "bottom", "left", "top" and "right" positions are available for aligning the navigation. These positions correspond to the docking positions on the corresponding screen edge.

../../_images/navigation_docking.png

The height and width of the elements in the navigation bar is determined by their orientation. With horizontal alignments (bottom, top), the height of the elements is fixed and their width is variable. With vertical alignments (left, right) the height of the elements is variable and the width is fixed.

The height and width of active and inactive menu items can be defined relative to the fixed size of the navigation element.

../../_images/navigation_bar_active.png

Parameters

Below are the parameters of the navigation object display.

In addition to the general parameters, the other parameters are divided into groups that summarize the functionality or the display of an element in the menu.

General parameters

The following parameter is used to clearly identify the navigation bar.

General parameters¶

Name

Type

Description

navigation id

String

Unique identification of the menu (default: navigation_1)

Custom menu

This parameter group contains the parameters for custom menus. The title and display parameters are available for creating simple menus. To create complex menus, the structure can be passed directly as a JSON string.

Hint

All of these parameters support the one-time initialization of the menu structure – a structure change at runtime is not recognized.

Hint

A display must not be used more than once in the entire menu structure.

Group parameters¶

Name

Type

Description

menu item n title

String (HTML)

Title of the menu item (HTML allowed)

menu item n display

Display

Display to open when clicking on the menu item

menu from JSON string

String (JSON)

For a description see Creation of a custom menu

menu from trigger

String

Trigger which transmits the menu structure to be created (as JSON) to the navigation. This allows the menu structure to be filled once, after the object display is loaded.

entry point

Display

If only part of the menu should be visible, an entry point (display or folder) can be defined here

Appearance: general

This parameter group contains the general parameters of the navigation and the common layout settings of the elements. Important parameters of this group are the orientation of the navigation, visibility after initialization and animation settings.

The group also contains parameters for the general layout such as frame settings and the distance between the elements.

Group parameters¶

Name

Type

Description

alignment

ENUM

Docking position of the navigation (default: right)

visibility

Boolean

Visibility when activated (default: true)

animation

ENUM

Animation when the visibility changes (default: fade)

animation speed

Number

Factor for adjusting the animation speed. To increase the animation speed, the factor has to be increased (default: 1)

menu background color

Color

Background color of the navigation area that contains the menu

menu border color

Color

Border color of the navigation area that contains the menu (default: global parameter atvBorderColor)

menu border width

Number (Pixel)

Frame thickness of the navigation area that contains the menu (default: 0)

menu border style

ENUM

Frame style of the navigation area that contains the menu (default: solid)

item border colors

Color

Border color of the elements in the navigation area (default: global parameter atvBorderColor)

item border radius

Number (Pixel)

Rounding off the frame of the elements in the navigation area (default: 3)

item border width

Number (Pixel)

Frame thickness of the elements in the navigation area (default: 1)

item border style

ENUM

Frame style of the elements in the navigation area (default: solid)

item padding

Number

Distance between the elements in the navigation area (default: 5)

Appearance: home element

This parameter group contains the settings of the home element. Important parameters of this group are the visibility of the home element, the title displayed in the home element and the display that can be opened by clicking on the home element. This group also contains parameters for the alignment, colors and size of the home element.

Group parameters¶

Name

Type

Description

visibility

Boolean

Visibility of the home element (home button) (default: true)

title

String (HTML)

Title displayed in the home element (default: HOME)

display

Display

Display which should be opened by clicking on the home element. By default, this is the atvise scada specific display AGENT.DISPLAYS.Main. If you use the navigation bar with a webMI server, select an according display of this webMI server.

horizontal alignment

ENUM

Horizontal alignment of the content in the home element (default: center)

vertical alignment

ENUM

Vertical alignment of the content in the home element (default: middle)

background color

Color

Background color of the home element (default: global parameter atvFillColor2)

font color

Color

Font color of the content of the home element (default: global parameter atvFontColor2)

height in vertical layouts

Number (Pixel)

Height of the home element in vertical layouts (default: 73)

width in horizontal layouts

Number (Pixel)

Width of the home element in horizontal layouts (default: 150)

icon visibility

Boolean

Visibility of the symbol in the home element (default: true)

Appearance: navigation element

This parameter group contains the settings of the navigation elements for scrolling in the navigation content. The parameters include options for colors and sizes.

Group parameters¶

Name

Type

Description

visibility

Boolean

Visibility of the navigation elements in the navigation (default: true)

horizontal alignment

ENUM

Horizontal alignment of the content in the navigation element (default: center)

vertical alignment

ENUM

Vertical alignment of the content in the navigation element (default: middle)

background color

Color

Background color of the navigation elements (default: global parameter atvFillColor2)

font color

Color

Color of the symbols in the navigation element (default: global parameter atvFontColor2)

height in vertical layouts

Number (Pixel)

Height of the navigation elements in vertical layouts (default: 73)

width in horizontal layouts

Number (Pixel)

Width of the navigation elements in horizontal layouts (default: 73)

Appearance: menu items

This parameter group contains the settings for the menu items. In addition to the options for colors, relative sizes for the menu items can also be defined here.

The number of visible menu items can also be defined here. The calculation is based on the orientation of the navigation. If the parameter "number of menu items" is set to 0, the values for height and width are taken from the dimensions of the object display and the parameters for heights and widths.

Group parameters¶

Name

Type

Description

number of menu items

Number

Number of displayed menu items in the navigation. If the value is specified, the optimal width / height is determined automatically. 0 deactivates the calculation. (default: 4)

horizontal alignment

ENUM

Horizontal alignment of the content in a menu item (default: center)

vertical alignment

ENUM

Vertical alignment of the content in a menu item (default: middle)

background color active

Color

Background color applied for active menu items (default: global parameter atvAccent1)

background color hovered

Color

Background color applied to menu items on mouseover (default: global parameter atvFillColor)

background color inactive

Color

Background color applied to inactive menu items (default: global parameter atvFillColor2)

height in vertical layouts

Number (Pixel)

Height of menu items in vertical layouts if the automatic calculation has been deactivated (default: 132)

width in horizontal layouts

Number (Pixel)

Width of menu items in horizontal layouts if the automatic calculation has been deactivated (default: 200)

percent height / width active

Number (Percent)

Relative size of active menu items (default: 100)

percent height / width inactive

Number (Percent)

Relative size of inactive menu items (default: 80)

Appearance: icons

This parameter group contains the settings of the displayed symbols. Symbols are defined as HTML text. Therefore, in addition to the Font Awesome symbols, text or graphics (<img/> tag) can also be specified.

Group parameters¶

Name

Type

Description

home

String (HTML)

Icon for the home element (default: <i class="fas fa-home"></i>)

arrow down

String (HTML)

Icon for the navigation arrows down (default: <i class="fas fa-chevron-down"></i>)

array left

String (HTML)

Icon for the navigation arrows to the left (default: <i class="fas fa-chevron-left"></i>)

array right

String (HTML)

Icon for the navigation arrows to the right (default: <i class="fas fa-chevron-right"></i>)

array up

String (HTML)

Icon for the navigation arrows up (default: <i class="fas fa-chevron-up"></i>)

open menu

String (HTML)

Icon for opening menu items if they contain a submenu (default: <i class="fas fa-caret-right"></i>)

close menu

String (HTML)

Icon for closing the menu item after entering a submenu (default: <i class="fas fa-caret-left"></i>)

Font

This parameter group contains the settings of the font used in the menus.

Group parameters¶

Name

Type

Description

font family

String (HTML)

The font family that is applied to all menu elements (default: Arial)

font color active

Color

The font color that is applied to active menu items (default: global parameter atvFontColor)

font color hovered

Color

The font color that is applied to hover menu items (mouseover) (default: global parameter atvFontColor)

font color inactive

Color

The font color that is applied to inactive menu items (default: global parameter atvFontColor2)

font size

Number (Pixel)

The font size that is applied to all menu elements (default: 16)

Options

This parameter group contains further settings that do not affect the layout.

Group parameters¶

Name

Type

Description

id of the content frame

String

ID of the content frame in which the display is to be opened when a menu item is selected (default: content)

minimum z-Index

Number

Minimum z-index with which the navigation should be initialized (default: 3000)

scroll factor

Number

Factor for adjusting the speed of the mouse wheel for scrolling within the navigation (default: 100)

scroll factor mobile

Number

Factor for adjusting the speed of the touch recognition for scrolling within the navigation (default: 15)

delay adjustment

Number

Display delay factor (in milliseconds) in case of a computing-intensive rendering of the visualization (default: 500)

parameter limitation

String

Parameters which should not be passed when opening a display. The entry is a comma-separated list. Parameters with the same prefix can be grouped using *. See also Limitation of the passed parameters. (default: nav*)

Security

This parameter group contains the settings regarding security and accessibility to the navigation bar.

Group parameters¶

Name

Type

Description

necessary right

String

The required right to operate the navigation bar

activation address

Address

The address from which to take the "activation value"

activation value

Any

The value which has to match to be able to operate the navigation bar

Examples¶

Creation of a custom menu¶

The display of a user-defined menu is an optional functionality of the library for generating a navigation bar. To use this function, the desired structure must be assigned to the parameter menu from JSON string as a JSON string without line breaks. The parameter is based on the following structure:

Structure of a user-defined menu¶

Variable

Type

Description

name

String (HTML)

Content displayed in the menu item

identifier

String

Optional: Unique identifier of the menu item (used for the custom entry point)

display

String

Optional: Display which should be opened by clicking on the menu item

sub

Array

Optional: list of sub-menu items

Using icons instead of text

The content of the menu item can contain HTML code. This makes it possible to include icons, provided that they were previously saved as a resource on the web server.

  • "name": "Text" for text or

  • "name": "<img src='example.png'/>" for e.g. PNG or

  • "name": "<i class='fas fa-atom'></i>" for icons from the Font Awesome library

Information about the Font Awesome library of version 5.11.2 can be found at https://fontawesome.com/.

Example for a menu with one level and three menu items:

[
    {
        "name": "Title 1",
        "display": "AGENT.DISPLAYS.MAIN.D1"
        },
    {
        "name": "Title 2",
        "display": "AGENT.DISPLAYS.MAIN.D2"
    },
    {
        "name": "Title 3",
        "display": "AGENT.DISPLAYS.MAIN.D3"
    }
]

Example of a menu with two levels:

[
    {
        "name": "Title 1",
        "sub": [
            {
                "name": "Title 2",
                "display": "AGENT.DISPLAYS.MAIN.D2"
            }
        ]
    },
    {
        "name": "Title 3",
        "display": "AGENT.DISPLAYS.MAIN.D3", // creates a split menu item
        "sub": [
            {
                "name": "Title 4",
                "display": "AGENT.DISPLAYS.MAIN.D4"
            },
            {
                "name": "Title 5",
                "display": "AGENT.DISPLAYS.MAIN.D5"
            }
        ]
    }
]

Example of a menu by trigger:

Use the trigger for complex menu structures. To do this, a unique name must be defined in the "menu from trigger" parameter, e.g. "MENU.BY.TRIGGER.EXAMPLE":

var menuString = JSON.stringify([
    {
        "name": "MY MENU",
        "sub": [
            {
                "name": "Title 1",
                "display": "AGENT.DISPLAYS.MAIN.D1"
            },
            {
                "name": "MY SUB MENU",
                "display": "AGENT.DISPLAYS.MAIN.D2",
                "sub": [
                    {"name": "Title 3", "display": "AGENT.DISPLAYS.MAIN.D3"}
                ]
            }
        ]
    },
    {
        "name": "Title with icon:<i class='fas fa-atom'></i>",
        "display": "AGENT.DISPLAYS.MAIN.D4"
    }
]);

webMI.trigger.fire("MENU.BY.TRIGGER.EXAMPLE", menuString);

Example of a menu using triggers with "BrowseNodes":

The trigger can be used when using the BrowseNodes functionality. To do this, a unique name must be defined in the "menu from trigger" parameter, e.g. "MENU.BY.TRIGGER.EXAMPLE":

webMI.data.call("BrowseNodes", {
        startAddress: "AGENT.OBJECTS",
        vTypes: ["VariableTypes.ATVISE.Display"]
    },
    function (displays) {
        var menu = [];
        for (var item in displays) {
            menu.push({
                "name": item,
                "identifier": displays[item]["name"],
                "display": displays[item]["name"]
            });
        }
        var menuString = JSON.stringify(menu);
        webMI.trigger.fire("MENU.BY.TRIGGER.EXAMPLE", menuString);
    }
);

Visibility and animation¶

By default, the navigation bar is displayed visibly. In order to maximize the view area on smaller displays, the menu can optionally be hidden and shown. "None", "fade", "slide-left" and "slide-right" are available as animation types for switching visibility. Visibility will be switched using the trigger "com.atvise.menu_toggle".

Example call of a trigger by clicking on a button:

var BUTTON_ID     = "id_button_1";  // id of the button that should fire the trigger
var NAVIGATION_ID = "navigation_1"; // id of the navigation bar (value of the parameter "navigation id")

webMI.addEvent(BUTTON_ID, "click", function(e) {
    webMI.trigger.fire("com.atvise.menu_toggle", NAVIGATION_ID);
});

Limitation of the passed parameters¶

When opening a display via the navigation element, the existing query parameters are passed on to the new display. If this is not desired for certain parameters (e.g. navigation), these can be excluded from the transfer with the parameter "parameter limitation". To do this, the list must be entered as comma-separated values. Parameters with the same prefix can be abbreviated with *.

Example of individual parameters:

Not to be passed: first parameter, second parameter and third parameter

Entry: "first parameter,second parameter,third parameter"

Example parameters with the same prefix:

Not to be passed: parameter one, parameter two and parameter three

Entry: "parameter*"

Example of combined parameters with an unequal prefix:

Not to be passed: parameter one, parameter two and third parameter

Entry: "parameter*,third parameter"

Next Previous

© Copyright 2007-2025, Bachmann Visutec GmbH.

Built with Sphinx using a theme provided by Read the Docs.