Changeset 3764 for trunk/gui/scripts/barchartresult.tcl
- Timestamp:
- Jul 9, 2013, 8:20:10 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/barchartresult.tcl
r3454 r3764 108 108 protected method _leaveMarker { g name } 109 109 private method _formatTickLabel { w value } 110 private method ResetLegend {} 110 111 111 112 private variable _dispatcher "" ;# dispatcher for !events … … 256 257 } 257 258 pack $itk_component(legend) -expand yes -fill both 258 after idle [subst { 259 update idletasks 260 $itk_component(legend) reset 261 }] 259 after idle [itcl::code $this ResetLegend] 262 260 263 261 # quick-and-dirty zoom functionality, for now... … … 798 796 } 799 797 } 800 $itk_component(legend) reset798 ResetLegend 801 799 } 802 800 … … 1627 1625 return $label 1628 1626 } 1627 1628 # 1629 # ResetLegend -- 1630 # 1631 itcl::body Rappture::BarchartResult::ResetLegend {} { 1632 set g $itk_component(plot) 1633 update idletasks 1634 $itk_component(legend) reset [$g element show] 1635 }
Note: See TracChangeset
for help on using the changeset viewer.