#!../blt_wish -f

if [file exists ../library] {
    set blt_library ../library
}
set graph .graph
set names "a b c d e f g h i j k l m n o p q r s"

option add *Blt_htext.Font *Times-Bold-R*14*
option add *graph.xFont *Times-Medium-R*12*
option add *graph.elemBackground white
option add *graph.elemRelief raised

blt_barchart $graph -invertxy 1

$graph legend configure -mapped 0
$graph xaxis configure -mapped 0
$graph yaxis configure -mapped 0
for { set i 0} { $i < 8 } { incr i } {
    $graph element create [lindex $names $i] \
	-data { $i+1 $i+1 } \
	-relief raised \
	-bd 2 
}

pack $graph