Sha256: 7b018d19876dceaaa763d75765289425c79fb31dd3199f38d9bc90f77b780168
Contents?: true
Size: 641 Bytes
Versions: 2
Compression:
Stored size: 641 Bytes
Contents
.ct-chart id="#{id}" .table-responsive.chart-table table.table.table-striped tbody tr th Serie -for label in labels th #{label} -for serie in series tr th #{names[series.index(serie)]} -for element in serie td #{element} javascript: var labels = #{{labels}}; var series = #{{series}}; new Chartist.Line("##{id}", { labels: labels, series: series }, { fullWidth: true, chartPadding: { right: 40 }, height: '300px', showLabel: true } ); css: .chart-table table { font-size: 11px; }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sinatra-hexacta-0.0.2 | lib/sinatra/views/charts/simple_line.slim |
sinatra-hexacta-0.0.1 | lib/sinatra/views/charts/simple_line.slim |