Sha256: 020172d9f0913f70f2f9c5c173ff3ea95d157edcf06baf42fa810fc82be88c5a

Contents?: true

Size: 386 Bytes

Versions: 1

Compression:

Stored size: 386 Bytes

Contents

module Highcharts
  class Legend < Base
    
    attr_accessor :layout, :align, :verticalAlign, :x, :y, :borderWidth
    
    def to_s
      rendered_options = render_options(:strings => 'layout align verticalAlign', :objects => 'x y borderWidth')
      return nil if rendered_options.length == 0
      "legend: {" +
        rendered_options.join(',') +
      "}"
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
highcharts-js-rails-0.0.1 lib/highcharts/legend.rb