Sha256: cde6bc961b1b173dfd2fcd9c5a01c8dd5c1088858f138daa18dae696ba2a5cee

Contents?: true

Size: 295 Bytes

Versions: 4

Compression:

Stored size: 295 Bytes

Contents

{
  type: 'google.visualization.PieChart',
  data: google.visualization.arrayToDataTable(<%= @csv.to_json %>),
  options: {
    title: <%= @title.to_json %>,
    legend: {
      position: 'labeled'
    }
  },
  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/pie.json.erb
asciinurse-0.1.6 resources/googlecharts/templates/charts/pie.json.erb
asciinurse-0.1.5 resources/googlecharts/templates/charts/pie.json.erb
asciinurse-0.1.4 resources/googlecharts/templates/charts/pie.json.erb