Changeset 1650 for branches/blt4/gui/scripts/barresult.tcl
- Timestamp:
- Feb 1, 2010, 3:23:15 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blt4/gui/scripts/barresult.tcl
r1646 r1650 558 558 pdf { 559 559 set psdata [$itk_component(plot) postscript output \ 560 -decorations no -maxpect 1]560 -decorations no] 561 561 562 562 set cmds { … … 1561 1561 # ---------------------------------------------------------------------- 1562 1562 itcl::configbody Rappture::BarResult::gridcolor { 1563 if {"" == $itk_option(-gridcolor)} { 1564 $itk_component(plot) grid off 1563 if { "" == $itk_option(-gridcolor) } { 1564 foreach axis [$itk_component(plot) axis names] { 1565 $itk_component(plot) axis configure $axis -grid off 1566 } 1565 1567 } else { 1566 $itk_component(plot) grid configure -color $itk_option(-gridcolor) 1567 $itk_component(plot) grid on 1568 foreach axis [$itk_component(plot) axis names] { 1569 $itk_component(plot) axis configure $axis \ 1570 -gridcolor $itk_option(-gridcolor) -grid on 1571 } 1568 1572 } 1569 1573 }
Note: See TracChangeset
for help on using the changeset viewer.