# File lib/lilygraph.rb, line 84 def initialize(options = {}) @options = DEFAULT_OPTIONS.merge(options) @data = [] @labels = [] @legend = nil @colors = Proc.new do |data_index, number_index, data_size, number_size| Color::HSL.from_fraction(Float(data_index) / Float(data_size), 1.0, 0.4 + (Float(number_index) / Float(number_size) * 0.4)).html end end