Changeset fab20f2d0270e682d105890980b5ed40a062c39b

Show
Ignore:
Timestamp:
03/20/09 13:16:21 (5 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1237554981 +0000
git-parent:

[2444c1368eec8e9a57397d731812a071fd704115]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1237554981 +0000
Message:

allow guides to have display logic in javascript

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ui/web/lib/Reconnoiter_flot_Driver.php

    rf99c668 rfab20f2  
    8686    $finish_ts = $finish[0]; 
    8787    foreach($this->guides as $name => $value) { 
    88       if(isset($this->guides_config[$name]['expression'])) { 
    89         $value = $this->rpn_eval($value, $this->guides_config[$name]['expression']); 
    90       } 
    9188      $a[] = array ( 
    9289        'label' => $name, 
    9390        'data' => array(array($start_ts, "$value"), array($finish_ts, "$value")), 
     91        'reconnoiter_display_expression' => $this->guides_config[$name]['expression'], 
    9492        'yaxis' => 1, 
    9593        'lines' => array ( 'color' => '3', 'show' => true, 'fill' => false, 'lineWidth' => '1' ) 
     
    109107        $value = $set->data($ts); 
    110108        if($value != "") { 
    111           if(isset($config['expression'])) { 
    112             $value = $this->rpn_eval($value, $config['expression']); 
    113           } 
    114109          $desc = $set->description($ts); 
    115110          if($desc) {