User guide

© GeoWise Ltd. 2011
Page 67
visualise | communicate | ENGAGE The InstantAtlas Designer
g the InstantAtlas Area Profile Template User Guide
© GeoWise Ltd. 2013
C.4.3.7. Bar Chart Properties
Y-Axis Data
Similar to the map component you can also set the bar chart to display
values from a column other than the indicator column. To do this, type in
the name of the associate column into the property ‘Y-Axis Data’ in the Bar
Chart Properties.
To sort the bars according to the new data source you can set the
properties ‘Chart Sort Data’ and ‘Chart Sort Direction’ in the General
Properties in the Property group ‘Data Formatting’.
X-Axis Label and Y-Axis Label
If you wish to show labels along the X and Y-Axis you can also define this
in the Bar Chart Properties.
Show Limits?
To show or hide the error bars on the bar chart (assuming the data.xml file
is inclusive of these values) tick or untick the check box of the ‘Show
Limits?’ property.
Tip
This property contains the code for the tooltip you see when you hover
over the bars. By default this code looks like this:
<p>${featureName}: ${indicatorValue}</p>
${notEmpty(lowerLimit, '<p>LL: ')}${lowerLimit}
${notEmpty(lowerLimit, '</p>')}
${notEmpty(upperLimit, '<p>UL: ')}${upperLimit}
${notEmpty(upperLimit, '</p>')}
This code means that the first line of the tooltip is the feature name and the
indicator value of the hovered bar. In case that your data contains
confidence intervals, two further paragraphs will be added. Both new lines
begin with a static text (‘LL: for lower limit and ‘UL: for upper limit)
followed by the respective dynamic variable (Figure 83).
The config.xml file of an HTML template does not currently include
this property.
In the config.xml file an HTML template this property is called ‘Data’.
Once you set this to pick up an associate value the bars will sort by
this associate. The Sort Direction can be set in the Bar Chart
Properties.
Max Zoom Allowed and Min Zoom Allowed
Using these properties you can define zoom limits for your map. The
values need to be in map units, e.g. Max Zoom Allowed: 500000,
Min Zoom Allowed: 10000000. When using Google Maps as a
background layer, you will need to specify zoom levels instead.
Possible zoom level values are 0 21, where 0 is the level furthest
zoomed out and 21 is the level furthest zoomed in, e.g. Max Zoom
Allowed: 15, Min Zoom Allowed: 5.