Quite good looking graph derived from d3.js http://c3js.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 lines
244 B

.nav
%a( href="/") Home
.page-header.title
%h1 #{data.samples[id].title}
.chart
#chart
.sourcecode
%h3 # #{id}.js
%pre
%code.html.javascript
= js_as_plain id
= partial :script
= javascript_include_tag "samples/#{id}.js"