Sha256: c40ad4291b513ac801fc43c25d474abcd62ae91cd4c44c4a987aa7336a762839

Contents?: true

Size: 296 Bytes

Versions: 5

Compression:

Stored size: 296 Bytes

Contents

module Streamgraph

    def streamgraph( data_url, element='.streamgraph' )
      StreamgraphGenerator.new.generate( element, data_url )
      streamgraph_div = content_tag( :div, '', class: element[1..-1] )
      content_tag( :div, streamgraph_div, class: "#{element[1..-1]}_body" )
    end

end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
d3js-charts-1.1.1 lib/chart_helpers/less_common/streamgraph.rb
d3js-charts-1.1.0 lib/chart_helpers/less_common/streamgraph.rb
d3-charts-1.1.0 lib/chart_helpers/less_common/streamgraph.rb
d3-charts-1.0.1 lib/chart_helpers/less_common/streamgraph.rb
d3-charts-1.0.0 lib/chart_helpers/less_common/streamgraph.rb