Sha256: bc8116bd8c6156734d3d84dc0c32d9d3b75cbc0d32faedec8228fd1ba97189da

Contents?: true

Size: 355 Bytes

Versions: 11

Compression:

Stored size: 355 Bytes

Contents

# By default, <code>chart</code> plots ticks above the categories.
#
# You can use the <code>:ticks</code> option to disable this behavior.
#
filename = File.basename(__FILE__).gsub('.rb', '.pdf')
Prawn::ManualBuilder::Example.generate(filename) do
  data = {views: {2013 => 182, 2014 => 46, 2015 => 802000000000000000000}}
  chart data, ticks: false
end

Version data entries

11 entries across 11 versions & 1 rubygems

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