Jump to: navigation, search
  • Main page
  • Recent changes
  • Random page
  • Maps

    Introduction

    XLCubed Maps are an optional extension which allow plotting geographic data directly in Excel and publishing to the XLCubed Web server.

    You can plot the data locations, and optionally set the colour and size of the plotted points to show values.

    MapSample.png

    UI

    To create a Map from Excel simply highlight the relevant data and select Maps from the Visualise drop-down button in the XLCubed menu.


    Ribbon.png


    XLCubed expects your data to be arranged in a particular way to create maps.

    Generally there should be several columns of data as described below.

    Known Latitude and Longitude

    The columns should contain the following.

    Column Description
    Map Name Title of the map, a map will be created for each different name. (For example to create a map for each year.)
    Location Name Title of the data point, shown when you hover over the point.
    Latitude Latitude of the point.
    Longitude Longitude of the point.
    Colour (optional) Defines the colour of the point plotted, can be a number or text. If no column is selected then all points will be the same colour. See Colours for more information.
    Size (optional) Defines the size of the point, this must be a number. If no column is selected then all points will be the same size.

    This would be a typical set of mapping data:

    MapData1.png

    If you do not know the latitude/longitude you can look it up using the Extras -> Lookup Latitude/Longitude menu item.

    Highlight the place names and select the menu item. This can take some time, so is not available as a function. It is recommended you look up the locations once and then reference them, for example using the VLookup() formula.

    LookupLatLng.png

    Named places

    Named places uses a predefined set of codes to identify locations. You can then plot either the outline of the location of a point in its center.

    XLCubed comes with defined outlines for many common requirements.

    You may also add custom sets of locations, to do this please contact support@xlcubed.com.

    The columns for the report should contain the following.

    Column Description
    Map Name Title of the map, a map will be created for each different name. (For example to create a map for each year.)
    Location Name Name of the place to plot.
    Colour (optional) Defines the colour of the point plotted, can be a number or text. If no column is selected then all points will be the same colour. See Colours for more information.
    Size (optional) Defines the size of the point, this must be a number. If no column is selected then all points will be the same size. (Does not apply if plotting polygons.)

    Display

    For named places you can choose to display the outline of the place rather than just a marker at its centre. As of Version 7.6 you can customise the transparency of the shape and border.

    Map controls

    Button Description
    Zoom in.png Zoom in.
    Zoom out.png Zoom out.
    Zoom tofit.png Zoom to Fit.
    Earth.png Toggle map display type. Switch between road and satellite views.
    FadeBW.png Toggle fade map. Fading the map makes the data points more prominent.

    (Requires IE9+ in Excel, and IE9+, Firefox or Chrome on the web)

    Output cells

    In the properties screen you can set up "output cells" for the map and location names.

    With these selected clicking a data point will update Excel. This can then be used to drive a detailed report for the selected point.

    If you turn on multi-select and pick an output range rather than a cell you can output multiple values. Drawing tools appear on the map to allow you to pick many points, and OK the selection.

    Colours

    This column can contain numbers or text, and there are three ways the values could drive the colour.

    Firstly, if you have numbers the colours can be from a colour gradient. E.g. Red-Green shading.

    Secondly, you can categorise the point. For example with stores the colour column could contain the store type. Each store type would then be plotted a particular colour.

    Finally the column could contain specific colours, using named colours or Html syntax such as #ff0000. This allows you maximum flexibility to drive the colour using any criteria you choose.

    All of these options are configured in the map properties screen. Right click the map to bring up the screen.

    Pie charts

    Starting in Version 7.6 you can plot pie charts instead of simple points. In this case, columns after the location column will be used as data values for the pie segments.

    By default the size of the pie chart will be based on the total of all the data values. You can optionally set the last column to be the pie chart size. This allows you to control the size based on another parameter, or make all the charts the same size (by filling the final column with 1s).

    MapPie.png

    Sizes

    If no size column is found then all markers will be the default size specified in the map properties.

    If a size column is included then the size of the marker will be between the Low and High value sizes specified in the properties screen. The exact marker size is calculated by interpolating between these values.

    View

    These options are new in Version 7.6.

    Initial view

    Defines the startup view of the map. The options are

    • Zoom to fit - Matches existing behaviour, map is zoomed and scrolled to show all data points.
    • Save on close - The zoom and scroll are saved with the workbook.
    • Custom view - You decide the zoom and scroll, click the "Set" button to select the current view.

    Custom style

    These settings allow you to customise the map layers, such as road, water and place names.

    You can adjust all the layers at once, or individually. Click the "Apply" to see a preview of what the map will look like.

    Security

    In some corporate environments the following urls may need to be added to sites trusted for javascript

    • xlcubedweb.com
    • xlcubedmapping.com
    • maps.googleapi.com