Sections

A page can have multiple sections. Section types define what process occurs in the section.

Attributes

id

a unique ID that allows the section to be referenced by the application and by the report.

type

  1. FORM - to input data. See Form Section 6.10
  2. GRID - to create a grid. See Grid Section 6.7
  3. CHARTS - to draw charts. See Charts Section 6.9
  4. SUMMARY - to create text sections. See Summary Section 6.8.
  5. GROUP - can contain a sectionGroup to draw sections of different types side by side. See Group Section 6.6.
  6. INLINE - a hidden section that can be viewed in a modal or anchored to the report.

height

defines the height as a percentage.

paddingBottom

defines the desired padding in pixels.

padding-top

defines the desired padding in pixels.

opacity

gives the background colour an opacity as a decimal between 0 and 1.

backgroundColor

use a hex code to give a background colour.

class

BORDER draws a border around the section.

repeat

Sections can repeat over accounts or dimensions:

  1. SUBJECT - looks for a subject attribute, repeats the page for each unique subject id.
  2. DIMENSION - looks for a dimension and data attributes, repeats the page for each unique dimension value.
Example

<moxydoc:section id="Target" type="GROUP" height="100%" padding-top="100px" backgorundColor=”#FFF100”         opacity=”0.6”>

</moxydoc:section>


Click to see Comments

Help comments powered by Disqus