Nevron Vision for SQL Server Reporting Services
The Map Layout

Nevron Map for Reporting Services supports a single map area, and multiple legends and titles. In order to take full advantage of this feature you must understand how the map layout system works.

Panels and the Box Model

Nevron Map for Reporting Services treats the map area, legends and titles as panels. Panels use a box model, which is summarized by the following drawing: 

Each panel has margins and padding. The margins define a white space around each panel. The padding defines the space with which the panel content is padded (inflated). The margins and padding settings can be inherited from the map default margins and padding settings, if the respective Automatic property is set to true.

By default the Automatic property for the margins and padding of all panels is set to true and the actual margins and padding are obtained from the map control default margins and padding. You can modify the default margins and padding from the Map - Layout tab. The margins and padding of each panel are accessible from the Layout tab for that panel.

In general the layout algorithm described below uses a combination of docking and absolute positioning. When a panel is docked both it margins and padding are taken into account to display the content at its best size. When a panel is manually positioned the margins are ignored, since they are not needed (margins define a white space, which only automatic layouts should consider).

The Layout Algorithm

The following image illustrates the layout areas in the Nevron Map for Reporting Services product: 

The layout algorithm performs the following steps:

  1. Layout the Outer Titles

    Outer titles are such titles for which the Position property is set to Dock To Map.

    The Dock Position property in this case determines the side at which the title must be docked in the outer titles area and the alignment of the title in this side area. For example:

    Dock Position = Top Center means dock the title to the top side and align it in the center.

    Dock Position = Right Top means dock the title to the right side and align it to the top.

  2. Layout the Outer Legends

    Outer legends are such legends for which the Position property is set to Dock To Map. Outer legends are arranged in the same way as the outer titles.

  3. Position the Map Area

    The map area panel fills the space which remains after steps 1 and 2 have been performed.

  4. Layout the Plot Titles (for each chart area)

    Plot titles are such titles for which the Position property is set to Dock To Map Plot Area. The Dock Position property in this case determines the side at which the title must be docked in the map plot area and the alignment of the title in this side area.
  5. Layout the Plot Legends (for each chart area)

    Plot legends are such titles for which the Position property is set to Dock To Map Plot Area. Plot legends are arranged in the same way as plot titles.

  6. Layout the Floating Legends

    Floating legends are such legends for which the Position property is set to Manual. A floating legend is positioned relatively to a pin point. The pin point coordinates are specified in percents of the area, which remained after the control border was applied (by the Pin X Percent and Pin Y Percent properties). The legend is aligned to the pin point via the Pin Alignment property. For example:

    Pin X Percent = 0, Pin Y Percent = 0, Pin Alignment = Bottom Right - means position the pin point at the 0, 0 percents and align the legend so that it is located at the bottom right side of the pin point.

  7. Layout the Floating Titles

    Floating titles are such titles for which the Position property is set to Manual. A floating title is positioned in the same way as a floating legend.

 

 


©2016. Nevron Software LLC.

Send Feedback