mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Hide closed statuses by default in the chart (#31418).
git-svn-id: http://svn.redmine.org/redmine/trunk@18201 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f38db92cae
commit
5f41a4320b
@ -63,7 +63,7 @@
|
||||
$(document).ready(function(){
|
||||
var chartData1 = {
|
||||
labels: <%= raw rows.collect{|row| row.name}.to_json %>,
|
||||
datasets: <%= raw @statuses.collect{|status| {"label" => status.name, "data" => rows.collect{|row| aggregate(data, {field_name => row.id, "status_id" => status.id})}}}.to_json %>
|
||||
datasets: <%= raw @statuses.collect{|status| {"label" => status.name, "hidden" => status.is_closed?, "data" => rows.collect{|row| aggregate(data, {field_name => row.id, "status_id" => status.id})}}}.to_json %>
|
||||
};
|
||||
var chartData2 = {
|
||||
labels: <%= raw @statuses.collect{|status| status.name}.to_json %>,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user