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 64ca0e1..c7af263 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 3eb4909..837a3a6 100644 (file)
Binary files a/testimg/t40area2.png and b/testimg/t40area2.png differ