<svg> Element

The <svg> element is a root topobase element. The root element contains topobase size specified in pixels, and the proportionality attribute (optional) that shows the ratio between topobase height and width. The fs namespace that is used to declare specific attributes and elements of the topobase is also determined within this element. Use the fs: prefix when specifying additional topobase attributes and elements not included into the SVG specification. The <svg> element is mandatory.

NOTE. Foresight Analytics Platform supports the p5 namespace used in Prognoz Platform.

Syntax

<svg version="1.1" xmlns:fs="http://www.fsight.ru" width="853px" height="640px" proportionality="0.75" xmlns="http://www.w3.org/2000/svg">

    ...

</svg>

Element Attributes

Attribute Description
version Specification version number.
xmlns:fs="http://www.fsight.ru" Namespace required to declare specific topobase elements.
width Topobase width.
height Topobase height.
proportionality This is an optional attribute that shows the ratio of height and width.

NOTE. The table contains attributes determined by the SVG format specification 1.1 and used by a topobase. Names of all attributes must be written in lower-case letters.

See also:

SVG Topobase Structure