Sha256: de37b44d1023714936168919be6983760bee596a4561dc9b0d3fd56be8821704
Contents?: true
Size: 369 Bytes
Versions: 25
Compression:
Stored size: 369 Bytes
Contents
class <%= class_name.camelize %> < Avo::Dashboards::ChartkickCard self.id = "<%= name.underscore %>" self.label = "<%= name.underscore.humanize %>" self.chart_type = :area_chart query do data = 3.times.map do |index| { name: "Batch #{index}", data: 17.times.map { |i| [i, Random.rand(32)] } } end result data end end
Version data entries
25 entries across 25 versions & 1 rubygems