Newer
Older
Publications / barchart.plo
nstanger on 4 Feb 2005 767 bytes - Tweaked layout slightly.
#musthave yrange
#musthave ylabel
#musthave field
#musthave ystubfmt

#proc settings
	units: cm
#endproc

#proc getdata
	delim: comma
	fieldnameheader: yes
	data:
		target_type, throughput, movement_time, error_rate
		Text box, 0.958, 0.972, 7.767
		Button, 1.505, 1.035, 7.333
		Check box, 1.967, 1.638, 78.467
		Combo box, 0.501, 2.130, 33.467

#proc areadef
	areaname: slide
	autowidth: 0.9
	yrange: @yrange
	xrange: 0.25 4.75

#proc yaxis:
	stubs: inc
	stubformat: @ystubfmt
	stubdetails: size=10
	label: @ylabel
	labeldetails: style=B size=10 adjust=-0.1,0
	grid: color=gray(0.7)

#proc xaxis:
	stubs: datafields=target_type
	stubdetails: style=B size=10
	tics: none

#proc bars
	lenfield: @field
	color: blue
	labelword: @@N
	labeldetails: size=10 adjust=0,0.2