Sha256: 4d22efc7358730d4fa14df2e7f903680d1b27eef1046d56d97ab79a8ea665b87

Contents?: true

Size: 342 Bytes

Versions: 6

Compression:

Stored size: 342 Bytes

Contents

require 'rubygems'
require 'gruff'
require File.join(File.dirname(__FILE__), 'new_image.rb')

g = Gruff::Area.new
g.title = "Many Multi-Area Graph Test"
g.labels = {
  0 => 'June', 
  10 => 'July', 
  30 => 'August', 
  50 => 'September', 
}
g.data('many points', (0..50).collect {|i| rand(100) })

# Default theme
g.write("gruff_area_1.jpg")

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rmagick4j-0.4.0-java test/eyetests/tests/gruff_area_1.rb
rmagick4j-0.3.9-java test/eyetests/tests/gruff_area_1.rb
rmagick4j-0.3.8 test/eyetests/tests/gruff_area_1.rb
rmagick4j-0.3.5 test/eyetests/tests/gruff_area_1.rb
rmagick4j-0.3.6 test/eyetests/tests/gruff_area_1.rb
rmagick4j-0.3.7 test/eyetests/tests/gruff_area_1.rb