Sha256: 14d7ee61c3086850bb0975170772b57e2225037193ab318efff810b0783f310e

Contents?: true

Size: 497 Bytes

Versions: 5

Compression:

Stored size: 497 Bytes

Contents

<%# locals => report %>

<div class="statpad funnel">
	<div class="title">Funnel Chart</div>
	<div class="statbody">
		<div id="chart_<%=h report.id %>" data-raphael="funnel" data-x-axis="date"
			<%# TODO: There's a ton of assumptions here %>
			data-x="<%= report.mg_report_items.map { |ri| ri.reportable.mg_records.count }.join(',') %>"
			data-y="<%= report.mg_report_items.map { |ri| "'#{ri.reportable.name}'" }.join(',') %>"
			style="width: 450px; height: 450px;" />
		</div>
	</div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mountain-goat-1.0.6pre1 lib/mountain-goat/views/mountain_goat/mg/report_items/_funnel.html.erb
mountain-goat-1.0.5 lib/mountain-goat/views/mountain_goat/mg/report_items/_funnel.html.erb
mountain-goat-1.0.4 lib/mountain-goat/views/mountain_goat/mg/report_items/_funnel.html.erb
mountain-goat-1.0.3 lib/mountain-goat/views/mountain_goat/mg/report_items/_funnel.html.erb
mountain-goat-1.0.2 lib/mountain-goat/views/mountain_goat/mg/report_items/_funnel.html.erb