title

Ruby code posted by author
created at 09 Apr 20:24

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{{#nf-graph
    width=400
    height=150
    showLanes=true
    showFrets=true
    paddingTop=10
    paddingRight=10}}

  {{#nf-x-axis tickCount=5}}
    <text>{{format-hour-minute tick.value}}</text>
  {{/nf-x-axis}}

  {{#nf-y-axis}}
    <text>{{tick.value}}</text>
  {{/nf-y-axis}}

  {{#nf-graph-content}}
    {{nf-line
        data=graphData
        xprop="x"
        yprop="y"
        interpolator="monotone"}}
  {{/nf-graph-content}}

{{/nf-graph}}
478 Bytes in 4 ms with coderay