← Back to team overview

anewt-developers team mailing list archive

[Branch ~uws/anewt/anewt.uws] Rev 1702: [sparkline] Fix dimension setting after Container changes

 

------------------------------------------------------------
revno: 1702
committer: Wouter Bolsterlee <uws@xxxxxxxxx>
branch nick: anewt.uws
timestamp: Tue 2009-07-21 20:55:24 +0200
message:
  [sparkline] Fix dimension setting after Container changes
  
  Container only supports single-argument getters and
  two-arguments setters nowadays.
modified:
  sparkline/bar.lib.php
  sparkline/line.lib.php

=== modified file 'sparkline/bar.lib.php'
--- sparkline/bar.lib.php	2008-10-26 22:56:29 +0000
+++ sparkline/bar.lib.php	2009-07-21 18:55:24 +0000
@@ -120,7 +120,7 @@
 			$image_border_top + $image_border_bottom +
 			($max_value - $min_value);
 
-		$this->set('dimensions', $width, $height);
+		$this->set_dimensions($width, $height);
 
 
 		/* Background color */

=== modified file 'sparkline/line.lib.php'
--- sparkline/line.lib.php	2008-10-26 22:58:46 +0000
+++ sparkline/line.lib.php	2009-07-21 18:55:24 +0000
@@ -81,7 +81,7 @@
 			$image_border_top + $image_border_bottom +
 			$value_scale * ($max_value - $min_value);
 
-		$this->set('dimensions', $width, $height);
+		$this->set_dimensions($width, $height);
 
 
 		/* Background color */



--
lp:anewt
https://code.launchpad.net/~uws/anewt/anewt.uws

Your team Anewt developers is subscribed to branch lp:anewt.
To unsubscribe from this branch go to https://code.launchpad.net/~uws/anewt/anewt.uws/+edit-subscription.