MapBarVisual Item

The MapBarVisual item contains the description of the bar factor. Bar factor is an instance of the BarVisual class.

Example of the Bar Factor Setup

MapBarVisual Item Attributes

Attribute name Type Description
Name String Factor name.
Visibility Visibility

Object visibility. Available values:

  • Visible: The object is visible.

  • Collapsed: The object is not visible.

Background DataDependency

Identifier of the dependency object described in items dictionary or a full description of the dependency object. It can be used as an item only for full description of dependency object. The identifier must be used in curved brackets: Background: ”{identifier}”.

DataSource DataSource

URL or identifier of the data source. The source is used when no source is set for dependency object.

BarDistance Double

Interval between the columns.

BorderColor DataDependency

Identifier of the dependency object described in items dictionary or a full description of the dependency object. It can be used as an item only for full description of dependency object. The identifier must be placed in curved brackets:

BorderColor: ”{identifier}”

BorderThickness Double

Width of column border.

Height DataDependency

Identifier of the dependency object described in items dictionary or a full description of the dependency object. It can be used as an item only for full description of dependency object. The identifier must be written in curved brackets: Height: ”{identifier}”.

NOTE. If you need to make the column height dependent on a specific data source, set the IsDependent attribute of the dependency object to True, and specify data source and scale to be used.

If you want the columns height to be static, set the IsDependent attribute to False, and define columns height in pixels in the Value attribute. (see  Example of the List of Dependencies Objects Setup).

Width DataDependency

ID of the dependency object described in items dictionary or a full description of the dependency object. It can be used as an item only for full description of dependency object. The identifier must be written in curved brackets: Width: ”{identifier}”.

NOTE. If you need to make the column width dependent on a specific data source, set the IsDependent attribute of the dependency object to True, and specify data source and scale to be used.

If the column width must be static, set the IsDependent attribute to False, and in the Value attribute set column width in pixels. (see  Example of the List of Dependencies Objects Setup).

IsPercentage Boolean

Flag that indicates whether column value is a percentage. Available values:

  • True: column value is a percentage;

  • False: Column value is not a percentage.

LeastHeightPart Double

Height of the column that contains the minimum value.

LeastWidthPart Double

Width of the column that contains the minimum value.

MaxBarsCount Number

Maximum number of columns.

See also:

Visuals Item