departments.flashwidget.xml 2.08 KB
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
<chart>
	
	<chart-type>BarChart</chart-type>
	<title>Headcount Variance</title>

	<data>
		<data-solution>samples</data-solution>
		<data-path>services</data-path>
		<data-action>headcount_variance_for_department.xaction</data-action>
		<data-output>rule-result</data-output>
		<!-- data-name>POSITIONTITLE</data-name>
		<data-value>ACTUAL</data-value -->
		<data-orientation>columns</data-orientation>
	</data>

	<template>
	<chart>
    	<background-color>#445544</background-color>
	<axis_category font='arial' bold='true' size='12' color='ff8844' alpha='85' skip='0' />
	<axis_ticks value_ticks='true' category_ticks='true' major_thickness='2' minor_thickness='1' minor_count='1' major_color='222222' minor_color='222222' position='centered' />
	<axis_value font='arial' bold='true' size='10' color='ffffff' alpha='30' steps='6' prefix='' suffix='' decimals='0' separator='' show_min='true' />

	<chart_border color='000000' top_thickness='1' bottom_thickness='1' left_thickness='3' right_thickness='1' />
	<chart_data>
		{data}
	</chart_data>
	<chart_grid_h alpha='20' color='000000' thickness='1' type='dashed' />
	<chart_grid_v alpha='20' color='000000' thickness='1' />
	<chart_rect x='180' y='30' width='250' height='230' positive_color='ffffff' negative_color='ff0000' positive_alpha='35' negative_alpha='10' />
	<chart_transition type='scale' delay='.5' duration='1.0' order='series' />
	<chart_type>bar</chart_type>
	<chart_value color='ffffff' alpha='50' font='arial' bold='true' size='10' position='center' prefix='' suffix='' decimals='0' separator='' as_percentage='false' />

	<draw>
		<text color='ffffff' alpha='30' size='45' x='220' y='18' width='300' height='240' h_align='left' v_align='bottom'>variance</text>
		<text color='000044' alpha='35' rotation='-90' size='30' x='30' y='270' width='300' height='100' h_align='left' v_align='bottom'>Department</text>
	</draw>

	<legend_rect x='-100' y='-100' width='10' height='10' />

	<series_color>
		<color>4e627c</color>
		<color>c89341</color>
		<color>4c6b41</color>
	</series_color>
	<link_data url='{drill-url}' /> 

	</chart>
	
	</template>

</chart>