avoid using automatic axis, and refresh the comparison image
authorTony Cook <tony@develop-help.com>
Wed, 4 Aug 2010 13:30:52 +0000 (13:30 +0000)
committerTony Cook <tony@develop-help.com>
Wed, 4 Aug 2010 13:30:52 +0000 (13:30 +0000)
t/t40area.t
testimg/t40area2.png

index 64ca0e18d2ec790b53c60029ec696c88ed740277..c7af2630c30ae187222024814ee5d7f083a86ac3 100644 (file)
@@ -76,7 +76,7 @@ plan tests => 8;
   ok($area, "made area chart object");
   $area->add_data_series(\@data1, "Test area");
   $area->show_horizontal_gridlines();
-  $area->use_automatic_axis();
+  $area->set_y_tics(10);
   my $img2 = $area->draw
     (
      features => [ "horizontal_gridlines", "areamarkers" ],
index 3eb49098a36ee7ac40daaa96c9ee949d07128a21..837a3a66a2df37550910ba8893f969ed6d4c1eac 100644 (file)
Binary files a/testimg/t40area2.png and b/testimg/t40area2.png differ