<?xml version="1.0" encoding="UTF-8"?>
<structure version="16" html-doctype="HTML4 Transitional" compatibility-view="IE9" relativeto="*SPS" encodinghtml="UTF-8" encodingrtf="ISO-8859-1" encodingpdf="UTF-8" useimportschema="1" embed-images="1" enable-authentic-scripts="1" authentic-scripts-in-debug-mode-external="0" generated-file-location="DEFAULT">
	<parameters/>
	<schemasources>
		<namespaces/>
		<schemasources>
			<xsdschemasource name="XML" main="1" schemafile="YearlySales.xsd" workingxmlfile="YearlySales.xml"/>
		</schemasources>
	</schemasources>
	<modules/>
	<flags>
		<scripts/>
		<mainparts/>
		<globalparts/>
		<designfragments/>
		<pagelayouts/>
		<xpath-functions/>
	</flags>
	<scripts>
		<script language="javascript"/>
	</scripts>
	<script-project>
		<Project version="2" app="AuthenticView"/>
	</script-project>
	<importedxslt/>
	<globalstyles/>
	<mainparts>
		<children>
			<globaltemplate subtype="main" match="/">
				<document-properties/>
				<children>
					<documentsection>
						<properties columncount="1" columngap="0.50in" headerfooterheight="fixed" pagemultiplepages="0" pagenumberingformat="1" pagenumberingstartat="auto" pagestart="next" paperheight="11in" papermarginbottom="0.79in" papermarginfooter="0.30in" papermarginheader="0.30in" papermarginleft="0.60in" papermarginright="0.60in" papermargintop="0.79in" paperwidth="8.50in"/>
					</documentsection>
					<template subtype="source" match="XML">
						<children>
							<template subtype="element" match="Data">
								<children>
									<newline/>
									<text fixtext="Simple Charts">
										<styles color="#023d7d" font-family="Tahoma" font-size="20pt" font-weight="bold"/>
									</text>
									<newline/>
									<line>
										<properties color="#003d80" size="4"/>
										<styles margin-top="1em"/>
									</line>
									<newline/>
									<text fixtext="Chart 1:">
										<styles font-style="italic" font-weight="bold"/>
									</text>
									<text fixtext=" The X-Axis selection determines the number (and labels) of X-Axis ticks. The Y-Axis selection determines the height of the respective bars.">
										<styles font-style="italic"/>
									</text>
									<newline/>
									<newline/>
									<text fixtext="The X-Axis selection is the sequence returned by evaluating the For-Each XPath expression. In this chart, the sequence returned by the For-Each XPath expression consists of the six Region[1]/Year nodes. The X-Axis XPath expression is evaluated in the context of the For-Each XPath expression and generates the labels of the X-Axis ticks. In this chart, the X-Axis XPath expression returns the values of the Year/@id attributes, which become the labels of the X-Axis ticks. So, to sum up: (i) the For-Each XPath expression returns a sequence of items, the number of which specifies the number of X-Axis ticks; this XPath expression also returns the context nodeset for evaluation of X-Axis and Y-Axis XPath expressions; (ii) the X-Axis XPath expression returns a sequence, the items of which will be the labels of the corresponding X-Axis ticks.">
										<styles font-style="italic"/>
									</text>
									<newline/>
									<text fixtext=" "/>
									<newline/>
									<text fixtext="The height of each bar is determined by the value of the corresponding item in the sequence returned by the Y-Axis XPath expression. For example, the height of the first bar will be the value of the first item in the returned sequence, that of the second bar the value of the second item in the sequence, and so on. In this chart, the Y-Axis sequence consists of the content of each of the Year elements in document order. And this sequence (of Year element nodes) corresponds to the sequence returned forthe X-Axis (of Year/@id nodes).">
										<styles font-style="italic"/>
									</text>
									<text fixtext=" "/>
									<newline/>
									<text fixtext=" "/>
									<newline/>
									<chart>
										<styles border="1px gray solid" height="80mm" width="120mm"/>
										<layer>
											<dataset>
												<dataseries for-each="." series-name="&apos;None&apos;" x-value="Year/@id" y-value="Year"/>
											</dataset>
											<dataseries-xny-rows for-each="Region[1]/Year" x-value="@id" auto-x-value="0">
												<col y-value="." y-name="&quot;Americas: Yearly Sales&quot;"/>
											</dataseries-xny-rows>
											<wizard-data>
												<wizard-data-categories/>
												<wizard-data-series/>
											</wizard-data>
											<chartsettings>
												<General SettingsVersion="2"/>
											</chartsettings>
											<chartsettings-xpath>
												<main-properties>
													<main-property location="ChartSettings/General/@Title" xpath='"Multiple Bars (X-Axis), One Series (Y-Axis)"'/>
													<main-property location="ChartSettings/General/TitleFont/@Color" xpath="'#023d7d'"/>
													<main-property location="ChartSettings/General/TitleFont/@Name" xpath="'Tahoma'"/>
													<main-property location="ChartSettings/General/TitleFont/@Bold" xpath="'1'"/>
													<main-property location="ChartSettings/General/TitleFont/@Underline" xpath="'yes'"/>
													<main-property location="ChartSettings/General/TitleFont/@Size" xpath="'16pt'"/>
												</main-properties>
												<color-properties/>
												<colorrange-properties/>
											</chartsettings-xpath>
										</layer>
									</chart>
									<newline/>
									<newline/>
									<line>
										<properties color="#003d80" size="2"/>
										<styles margin-top="1em"/>
									</line>
									<newline/>
									<text fixtext="Chart 2:">
										<styles font-style="italic" font-weight="bold"/>
									</text>
									<text fixtext=" "/>
									<text fixtext="This chart is identical to the previous chart. The data selection and sequences returned are also identical, but have been obtained using the &apos;Flexible&apos; chart data selector mechanism (instead of the &apos;Simple&apos; chart data selector mechanism used in the previous example).">
										<styles font-style="italic"/>
									</text>
									<newline/>
									<newline/>
									<chart chart-data-flexible="1">
										<styles border="1px gray solid" height="80mm" width="120mm"/>
										<layer>
											<dataset>
												<dataseries for-each="Region[1]/Year" series-name="&apos;Americas Yearly Sales&apos;" x-value="@id" y-value="."/>
											</dataset>
											<dataseries-xny-rows for-each="Region[1]/Year" x-value="@id" auto-x-value="0">
												<col y-value="." y-name="&quot;Americas: Yearly Sales&quot;"/>
											</dataseries-xny-rows>
											<wizard-data>
												<wizard-data-categories/>
												<wizard-data-series/>
											</wizard-data>
											<chartsettings>
												<General SettingsVersion="2"/>
											</chartsettings>
											<chartsettings-xpath>
												<main-properties>
													<main-property location="ChartSettings/General/@Title" xpath='"Multiple Bars (X-Axis), One Series (Y-Axis)"'/>
													<main-property location="ChartSettings/General/TitleFont/@Color" xpath="'#023d7d'"/>
													<main-property location="ChartSettings/General/TitleFont/@Name" xpath="'Tahoma'"/>
													<main-property location="ChartSettings/General/TitleFont/@Bold" xpath="'1'"/>
													<main-property location="ChartSettings/General/TitleFont/@Underline" xpath="'yes'"/>
													<main-property location="ChartSettings/General/TitleFont/@Size" xpath="'16pt'"/>
												</main-properties>
												<color-properties/>
												<colorrange-properties/>
											</chartsettings-xpath>
										</layer>
									</chart>
									<newline/>
									<line>
										<properties color="#003d80" size="2"/>
										<styles margin-top="1em"/>
									</line>
									<newline/>
									<text fixtext="Chart 3:">
										<styles font-style="italic" font-weight="bold"/>
									</text>
									<text fixtext=" In this chart the yearly sales volumes for the Americas region are stacked on a single bar. To achieve this, the X-Axis selection (the For-Each XPath expression) must return a singleton sequence. In this example, the For-Each XPath expression (Region[1]) selects the Region element for the Americas. The X-Axis XPath expression returns the @id node of the Region element, and that provides the label for the X-Axis tick.">
										<styles font-style="italic"/>
									</text>
									<newline/>
									<newline/>
									<text fixtext="The height of each segment of the stacked bar is determined by the value of the item in the singleton sequence returned by each of the Series XPath expressions evaluated for the Y-Axis. For example, the value returned by the XPath expression of the first series determines the height of the first segment of the stack; the value returned by the XPath expression of the second series determines the height of the second segment of the stack; and so on. Of course, the XPath expressions for each of the series must return a single value since there is only one bar that is being stacked. (The next chart shows how multiple bars on the X-Axis can be stacked.)">
										<styles font-style="italic"/>
									</text>
									<newline/>
									<newline/>
									<chart multi-layer-chart="1">
										<styles border="1px gray solid" height="120mm" width="120mm"/>
										<layer>
											<dataset>
												<dataseries for-each="." series-name="&apos;None&apos;" x-value="Year/@id" y-value="Year"/>
											</dataset>
											<dataseries-xny-rows for-each="Region[1]" x-value="@id" auto-x-value="0">
												<col y-value="Year[1]" y-name="&quot;2005&quot;"/>
												<col y-value="Year[2]" y-name="&quot;2006&quot;"/>
												<col y-value="Year[3]" y-name="&quot;2007&quot;"/>
												<col y-value="Year[4]" y-name="&quot;2008&quot;"/>
												<col y-value="Year[5]" y-name="&quot;2009&quot;"/>
												<col y-value="Year[6]" y-name="&quot;2010&quot;"/>
											</dataseries-xny-rows>
											<wizard-data>
												<wizard-data-categories/>
												<wizard-data-series/>
											</wizard-data>
											<chartsettings>
												<General SettingsVersion="2" ChartKind="StackedBarChart">
													<TitleFont Size="6.%"/>
													<LegendFont Size="3.%"/>
													<AxisLabelFont Size="4.%"/>
												</General>
												<Bar ShowShadow="0"/>
												<XY>
													<XAxis>
														<ValueFont Size="2.5%"/>
													</XAxis>
													<YAxis AutoRange="0" RangeTill="700000." UseAutoTick="0" ManualTickInterval="50000.">
														<ValueFont Size="2.5%"/>
													</YAxis>
												</XY>
											</chartsettings>
											<chartsettings-xpath>
												<main-properties>
													<main-property location="ChartSettings/General/@Title" xpath='"One Bar (X-Axis), Multiple Series (Y-Axis)"'/>
													<main-property location="ChartSettings/General/TitleFont/@Color" xpath="'#023d7d'"/>
													<main-property location="ChartSettings/General/TitleFont/@Name" xpath="'Tahoma'"/>
													<main-property location="ChartSettings/General/TitleFont/@Bold" xpath="'1'"/>
													<main-property location="ChartSettings/General/TitleFont/@Underline" xpath="'yes'"/>
													<main-property location="ChartSettings/General/TitleFont/@Size" xpath="'16pt'"/>
												</main-properties>
												<color-properties/>
												<colorrange-properties/>
											</chartsettings-xpath>
										</layer>
									</chart>
									<newline/>
									<line>
										<properties color="#003d80" size="2"/>
										<styles margin-top="1em"/>
									</line>
									<newline/>
									<text fixtext="Chart 4:">
										<styles font-style="italic" font-weight="bold"/>
									</text>
									<text fixtext=" This is an extension of Chart 3. In addition to the stacked bar for the Americas region, stacked bars for the Europe and Asia regions have been plotted. This required just one modification to the data selection.">
										<styles font-style="italic"/>
									</text>
									<newline/>
									<newline/>
									<text fixtext="For the X-Axis selection, the For-Each XPath expression has been modified to select all regions. This has been done by removing the predicate that selected only the first of the regions (the Americas region). As a result, the X-Axis selection returns all three regions, and this will create three bars on the X-Axis.">
										<styles font-style="italic"/>
									</text>
									<newline/>
									<newline/>
									<text fixtext="The number of series stays the same, and the XPath expression for each series also stays the same. Consequently, for each region a bar is built and is stacked according to the values returned for each series in the context of that region. This is done sequentially for each region in document order.">
										<styles font-style="italic"/>
									</text>
									<newline/>
									<newline/>
									<chart multi-layer-chart="1">
										<styles border="1px gray solid" height="120mm" width="120mm"/>
										<layer>
											<dataset>
												<dataseries for-each="." series-name="&apos;None&apos;" x-value="Year/@id" y-value="Year"/>
											</dataset>
											<dataseries-xny-rows for-each="Region" x-value="@id" auto-x-value="0">
												<col y-value="Year[1]" y-name="&quot;2005&quot;"/>
												<col y-value="Year[2]" y-name="&quot;2006&quot;"/>
												<col y-value="Year[3]" y-name="&quot;2007&quot;"/>
												<col y-value="Year[4]" y-name="&quot;2008&quot;"/>
												<col y-value="Year[5]" y-name="&quot;2009&quot;"/>
												<col y-value="Year[6]" y-name="&quot;2010&quot;"/>
											</dataseries-xny-rows>
											<wizard-data>
												<wizard-data-categories/>
												<wizard-data-series/>
											</wizard-data>
											<chartsettings>
												<General SettingsVersion="2" ChartKind="StackedBarChart">
													<TitleFont Size="6.%"/>
													<LegendFont Size="3.%"/>
													<AxisLabelFont Size="4.%"/>
												</General>
												<Bar ShowShadow="0"/>
												<XY>
													<XAxis>
														<ValueFont Size="2.5%"/>
													</XAxis>
													<YAxis AutoRange="0" RangeTill="700000." UseAutoTick="0" ManualTickInterval="50000.">
														<ValueFont Size="2.5%"/>
													</YAxis>
												</XY>
											</chartsettings>
											<chartsettings-xpath>
												<main-properties>
													<main-property location="ChartSettings/General/@Title" xpath='"Multiple Bars (X-Axis), Multiple Series (Y-Axis)"'/>
													<main-property location="ChartSettings/General/TitleFont/@Color" xpath="'#023d7d'"/>
													<main-property location="ChartSettings/General/TitleFont/@Name" xpath="'Tahoma'"/>
													<main-property location="ChartSettings/General/TitleFont/@Bold" xpath="'1'"/>
													<main-property location="ChartSettings/General/TitleFont/@Underline" xpath="'yes'"/>
													<main-property location="ChartSettings/General/TitleFont/@Size" xpath="'16pt'"/>
												</main-properties>
												<color-properties/>
												<colorrange-properties/>
											</chartsettings-xpath>
										</layer>
										<layer>
											<dataset/>
											<dataseries-xny-rows/>
											<wizard-data>
												<wizard-data-categories/>
												<wizard-data-series/>
											</wizard-data>
											<chartsettings>
												<General SettingsVersion="2" ChartKind="StackedBarChart" BKColorGradientEnd="#cce8ff" PlotBKColorGradientEnd="#e8ffe9">
													<TitleFont Size="6.%"/>
													<LegendFont Size="3.%"/>
													<AxisLabelFont Size="4.%"/>
												</General>
												<XY>
													<XAxis>
														<ValueFont Size="2.5%"/>
													</XAxis>
													<YAxis AutoRange="0" RangeTill="700000." UseAutoTick="0" ManualTickInterval="50000." AxisPosition="RightOrTop">
														<ValueFont Size="2.5%"/>
													</YAxis>
												</XY>
											</chartsettings>
											<chartsettings-xpath>
												<main-properties/>
												<color-properties/>
												<colorrange-properties/>
											</chartsettings-xpath>
										</layer>
									</chart>
									<line>
										<properties color="#003d80" size="4"/>
										<styles margin-top="1em"/>
									</line>
									<newline/>
								</children>
								<variables/>
							</template>
						</children>
						<variables/>
					</template>
				</children>
			</globaltemplate>
		</children>
	</mainparts>
	<globalparts/>
	<designfragments/>
	<xmltables/>
	<authentic-custom-toolbar-buttons/>
</structure>
