Ignore:
Timestamp:
Feb 1, 2010, 3:23:15 PM (15 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/blt4/gui/scripts/barresult.tcl

    r1646 r1650  
    558558                pdf {
    559559                    set psdata [$itk_component(plot) postscript output \
    560                                     -decorations no -maxpect 1]
     560                                    -decorations no]
    561561
    562562                    set cmds {
     
    15611561# ----------------------------------------------------------------------
    15621562itcl::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        }
    15651567    } 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        }
    15681572    }
    15691573}
Note: See TracChangeset for help on using the changeset viewer.