Sha256: 310c7a2f51c4ca41a268be073851707f35ca1cb2e90c9741c4844a3eaf5edb7c

Contents?: true

Size: 313 Bytes

Versions: 4

Compression:

Stored size: 313 Bytes

Contents

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