Changeset 4202 for trunk/gui


Ignore:
Timestamp:
Mar 4, 2014 2:36:09 PM (10 years ago)
Author:
gah
Message:

bug fix: markers not created in xyresult (wrong class name)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/xyresult.tcl

    r4181 r4202  
    229229# ----------------------------------------------------------------------
    230230itcl::body Rappture::XyResult::add {dataobj {settings ""}} {
    231     #puts stderr "add: dataobj=$dataobj settings=$settings"
    232231    set g $itk_component(plot)
    233232    SetElements $dataobj $settings
     
    297296        }
    298297    }
    299     if { [$dataobj info class] == "Rappture::Curve" } {
     298    if { [$dataobj info class] == "::Rappture::Curve" } {
    300299        BuildMarkers $dataobj $elem
    301300    }
     
    331330# ----------------------------------------------------------------------
    332331itcl::body Rappture::XyResult::delete {args} {
    333     #puts stderr "XyResult::delete args=$args"
    334332    set g $itk_component(plot)
    335333
     
    368366# ----------------------------------------------------------------------
    369367itcl::body Rappture::XyResult::scale {args} {
    370     #puts stderr "XyResult::scale args=$args"
    371368    set _dlist $args
    372369    BuildGraph $args
     
    497494    set g $itk_component(plot)
    498495
     496    set ymin -Inf
     497    set ymax Inf
     498    set xmax Inf
     499    set xmin -Inf
    499500    foreach m [$dataobj xmarkers] {
    500501        foreach {at label style} $m break
     
    14401441        switch -- $axis {
    14411442            "x" - "x2" - "y" - "y2" {
    1442                 $g axis configure $axis -hide yes
     1443                $g axis configure $axis -hide yes -checklimits no
    14431444            }
    14441445            default {
Note: See TracChangeset for help on using the changeset viewer.