Sha256: 94e4cde510433f799ac59acdc5eac2f219feb14a61ca9d3225c369ae7cdcc441

Contents?: true

Size: 378 Bytes

Versions: 1

Compression:

Stored size: 378 Bytes

Contents

class PolarAreaDiagramGenerator < BaseGenerator

  # generate horizontal bar chart
  #   element - div id or class for chart
  #   data_url - json file with data
  def generate( element, data_url )
    add_assets( 'polar_area_diagram'+element.to_s+'.js', js_code( element, data_url ) ) 
    add_assets( 'polar_area_diagram'+element.to_s+'.css', css_code( element ) ) 
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
d3js-charts-1.1.0 lib/chart_generators/polar_area_diagram_generator.rb