Changeset 1758
- Timestamp:
- 12/03/08 11:54:31 (1 month ago)
- Files:
-
- trunk/CHANGES (modified) (1 diff)
- trunk/opsview-web/lib/Opsview/Web/Controller/RRDgraph.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/CHANGES
r1747 r1758 11 11 If realm != local, then hide the Atom feed details on the contact page as this does not use the realm of the contact to authenticate 12 12 Fixed bug where some data points may not be updated in RRD if RRD::Simple raises an exception 13 Added parameters to /rrdgraph of title and vertical-title (thanks to Jose Luis Martinez) 13 14 14 15 2.14.1 17th November 2008 trunk/opsview-web/lib/Opsview/Web/Controller/RRDgraph.pm
r1651 r1758 62 62 my $showlegend = $params->{legend}; 63 63 $showlegend = 1 if not defined $showlegend; 64 my $vertical_label = $params->{'vertical-label'}; 65 my $title = $params->{'title'}; 64 66 my $stacked = $params->{stack} || 0; 65 67 my $type = "LINE1"; … … 140 142 "--width", $width 141 143 ]; 144 if (defined $vertical_label){ 145 push @$rrdoptions, "--vertical-label", $vertical_label; 146 } 147 if (defined $title){ 148 push @$rrdoptions, "--title", $title; 149 } 142 150 foreach my $dsname (sort keys %$ds) { 143 151 foreach my $hash (@{ $ds->{$dsname} }) {
