Module: Squid::Interface
- Defined in:
- lib/squid.rb
Overview
Provides the ‘chart` method to use in Prawn::Document
Instance Method Summary collapse
-
#chart(data = {}, settings = {}) ⇒ Object
Plots a graph the current document.
Instance Method Details
#chart(data = {}, settings = {}) ⇒ Object
Plots a graph the current document.
30 31 32 |
# File 'lib/squid.rb', line 30 def chart(data = {}, settings = {}) Graph.new(self, data, settings).draw end |