Sha256: fbe823aecf8fe769a8e97a0a1ceed9698e14115a99b0249e067f697e2cf2be21

Contents?: true

Size: 420 Bytes

Versions: 4

Compression:

Stored size: 420 Bytes

Contents

{
  type: 'google.charts.Bar',
  data: google.visualization.arrayToDataTable(<%= @csv.to_json %>),
  options: {
    title: <%= @title.to_json %>,
    hAxis: {
      title: <%= @header.first.to_json %>,
      minValue: 0
    },
    vAxis: {
      title: <%= @header.last.to_json %> ,
      minValue: 0
    },
    bars: 'vertical'
  },
  style: {
    width: <%= @width.to_json %>,
    height: <%= @height.to_json %>
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
asciinurse-0.1.7 resources/googlecharts/templates/charts/column.json.erb
asciinurse-0.1.6 resources/googlecharts/templates/charts/column.json.erb
asciinurse-0.1.5 resources/googlecharts/templates/charts/column.json.erb
asciinurse-0.1.4 resources/googlecharts/templates/charts/column.json.erb