mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-16 21:24:05 +00:00
Merge pull request #397 from ChrisBr/fix_charts
[Bugfix] Dashboard line charts fixed
This commit is contained in:
commit
518e1cc62b
1 changed files with 1 additions and 2 deletions
|
|
@ -78,10 +78,9 @@ $(function() {
|
|||
var options = {};
|
||||
options.fillColor = "rgba(255,255,255,0.0)";
|
||||
options.strokeColor = conferences[i].color;
|
||||
options.data = chart_data[conferences[i].short_title];
|
||||
if(options.data == null || options.data.length == 0){
|
||||
options.data = [0];
|
||||
}else{
|
||||
options.data = chart_data[conferences[i].short_title];
|
||||
}
|
||||
result.push(options)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue