diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-05-22 08:13:08 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-05-22 08:13:08 +0000 |
| commit | 0878829606af062244fbd1077fda07cb72af77e3 (patch) | |
| tree | a42a1936e0bfafff5b90554eabf76b531d4b031f /frontends/php/charts.php | |
| parent | f1772af2dc84a86ceee17ca21532e7143dbcab65 (diff) | |
| download | zabbix-0878829606af062244fbd1077fda07cb72af77e3.tar.gz zabbix-0878829606af062244fbd1077fda07cb72af77e3.tar.xz zabbix-0878829606af062244fbd1077fda07cb72af77e3.zip | |
- [DEV-170] improved charts period & start time selection (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5722 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/charts.php')
| -rw-r--r-- | frontends/php/charts.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/charts.php b/frontends/php/charts.php index 90a752b1..191e0856 100644 --- a/frontends/php/charts.php +++ b/frontends/php/charts.php @@ -391,10 +391,10 @@ include_once 'include/page_header.php'; $bstime = mktime(substr($bstime,8,2),substr($bstime,10,2),0,substr($bstime,4,2),substr($bstime,6,2),substr($bstime,0,4)); } - $script = 'scrollinit(0,0,0,'.$effectiveperiod.','.$stime.',0,'.$bstime.'); showgraphmenu("graph");'; + $script = 'scrollinit(0,'.$effectiveperiod.','.$stime.',0,'.$bstime.'); showgraphmenu("graph");'; if(($graphtype == GRAPH_TYPE_NORMAL) || ($graphtype == GRAPH_TYPE_STACKED)){ - $script.= 'graph_zoom_init("'.$dom_graph_id.'",'.$bstime.','.$effectiveperiod.',ZBX_G_WIDTH,'.$graph_height.');'; + $script.= 'graph_zoom_init("'.$dom_graph_id.'",'.$bstime.','.$effectiveperiod.',ZBX_G_WIDTH,'.$graph_height.',true);'; } zbx_add_post_js($script); |
