Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Structure

{mainTitle}

{subTitle}

importance secondary

importance primary

importance primary

value placeholder

value placeholder

importance secondary

value placeholder

value placeholder

Behavior

Facts are styled by copying the cell that corresponds to the correct (row, column) coordinates and then filling in the content.

The content is treated as HTML and styled accordingly. The styleHint property allows using CSS to further style the content.

For compatibility reasons certain newline characters are automatically converted to the HTML equivalent, which is <br/>. These are: \r, \n and \u000b.

Facts are aligned by first looking at its value type. If it is text, it is left aligned, otherwise right. If the fact itself does not define a value type, the column’s value type is applied using the same rules. If no value type is defined the alignment defined in the table style is used.

Examples

Example 1: Showing a simple case without any HTML and CSS

Example 2: Showing how to use HTML

Example 3: Showing how to use styleHint and CSS styles

Example 4: Showing how newlines are treated

Example 5: Showing how the alignment works

  • No labels