Sha256: 815c7328961f387e28d8054509541264bbd4eb72c4ff2ecf962f51acc10895e9

Contents?: true

Size: 352 Bytes

Versions: 11

Compression:

Stored size: 352 Bytes

Contents

# By default, <code>chart</code> is not plotted with an outer border.
#
# You can use the <code>:border</code> option to enable this behavior.
#
filename = File.basename(__FILE__).gsub('.rb', '.pdf')
Prawn::ManualBuilder::Example.generate(filename) do
  data = {views: {Safari: 45.20001, Firefox: 33.3999, Chrome: 21.4}}
  chart data, border: true
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
squid-1.4.1 examples/squid/border.rb
squid-1.4.0 examples/squid/border.rb
squid-1.3.0 examples/squid/border.rb
squid-1.2.0 examples/squid/border.rb
squid-1.1.0 examples/squid/border.rb
squid-1.0.1 examples/squid/border.rb
squid-1.0.0 examples/squid/border.rb
squid-1.0.0.beta4 examples/squid/border.rb
squid-1.0.0.beta3 examples/squid/border.rb
squid-1.0.0.beta2 examples/squid/border.rb
squid-1.0.0.beta1 examples/squid/border.rb