Configuration

The config.xml file of the Election Results template is very similar to the Area Profile – Spine Chart configuration of the Area Profile template. In fact it would be possible to create the one out of the other by simply deleting some components and changing a few properties.

Election Results reports do not have a data button as it is not intended to change the map to show any other indicators except the Winning Party.

The Map, Table and Spine Chart have been configured to only allow the selection of one single area whereas none of the entries in the Comparison Table can be selected.

In the Spine Chart the horizontal bars show the values of the associate ‘percentage of vote’ using a range between 0 and 100.

In the Election Results (HTML Edition), the horizontal bars are coloured according to the value of the ‘party’ associate. The property for this is called ‘Use Data For Bar Colour’ and its value has to match exactly the name of the party associate. The colours for the parties have to be defined using the Symbol properties of the Spine Chart.

If you do not wish to colour the bars differently according to the party of the candidate, simply delete the value of the ‘Use Data For Bar Colour’ property. The property ‘Bar Colour’ will then set the colour for all bars.

In the ‘Data Columns’ section of the Spine Chart Properties the column labelled ‘Percentage of Vote’ (which is the column containing the horizontal bars) has ‘election’ in the ‘Name’ column. Compared to the column name ‘profile’ of the IA6 Area Profile – Spine Chart configuration the name ‘election’ omits the scale labels in the column header.

Additionally to the above differences between the IA6 Area Profile – Spine Chart configuration and the Election Results template there are some Spine Chart properties not included in the Election template as they do not apply considering the require data structure. Therefore it is not possible to create an Election results configuration out of the IA6 Area Profile – Spine Chart configuration.

Please refer to section ‘Area Profile – Spine Chart’ for information on how to define these symbols in the Spine Chart.