Tab Tags

Tabs are used in central and overview pages. They are defined using the tab tag and are part of designing the layout of the page.

Tag

Examples

Status

Notes

tab

tab {

screen {

layout {

...

}

}

}

Required Defines the tab block. A central or overview page can use multiple tabs.
element

element {

...

}

element id = "br-yearmo" percent = 90

Optional

Defines an element for a tab, screen, or page. When defined in a definitions block, an element can be reused by pages within the script.

hsplit

vsplit {

hsplit percent = 50 {

element id = "ln-yearmo" percent = 0

element id = "br-yearmo" percent =50

}

hsplit percent = 50 {

element id = "gddimcount" percent = 90

spacer percent = 10

}

}

Optional

Displays contained items horizontally, or left to right.

IMPORTANT: An hsplit tag must first be contained within a vsplit tag. Multiple hsplit tags within a vsplit are aligned top to bottom according to the vsplit tag.

layout

layout {

vsplit {

...

}

}

 

layout orientation = "portrait" {

hsplit {

vsplit {

element id = "gddim" percent = 90

}

}

}

Required

Determines the layout of the central or overview page. Sets up the portrait or landscape layout of the details for the page. The default is landscape.

Can include:

  • bar-chart
  • box
  • element
  • grid
  • hbar-chart
  • hsplit
  • image
  • line
  • line-chart
  • pie-chart
  • spacer
  • table
  • vsplit
percent

percent = 50

percent = 85

Optional

Identifies the percentage of the display layout allocated for the element.

NOTE: The total percentage of the display layout elements within a vsplit or an hsplit must equal 100.

screen

screen {

...

}

Required

Starts the configuration for a screen.

A tab block can contain multiple screens.

vsplit

hsplit {

vsplit percent = 50 {

element id = "br-year" percent = 49

line percent = 2

element id = "ln-mo" percent = 49

}

vsplit percent = 50 {

element id = "table-yr" percent = 90

}

}

Optional

Displays contained items vertically, or top to bottom.

IMPORTANT: A vsplit tag must first be contained within an hsplit tag. Multiple vsplit tags within an hsplit are aligned left to right according to the hsplit tag.

See also What is an Elements Block?