mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
* Clean up legacy charting imports * Update existing donut and line charts * Create helpers for parsing out existing chart data * Move chart partials to a more common path
15 lines
214 B
Text
15 lines
214 B
Text
:ruby
|
|
options = {
|
|
legend: 'bottom',
|
|
download: true,
|
|
messages: { empty: 'No data' }
|
|
}
|
|
|
|
.row
|
|
.col-md-12
|
|
.text-center
|
|
%h4
|
|
= title
|
|
.row
|
|
.col-md-12
|
|
= line_chart data, options
|