segments


// Usage: pl -gif -csmap segments.htm 
//
// Floating segments example

#proc getdata
  showresults: yes
  data:   
	  -1 2    R1  
	  3 5     R2
          4.5 7   R3
          7.5 9   R4
          10 11.5 R5
          12 16   R6

#proc areadef
  rectangle: 1 1 5 3
  xrange: 0 15
  yrange: 0 10
  // frame: yes


#proc bars
  horizontalbars: yes
  segmentfields: 1 2
  constantloc: 1
  // outline: no
  color: lightorange
  labelfield: 3
  labelmustfit: truncate
  truncate: yes
  clickmapurl: [target=new]?word=@@3&val=@@1