Show More
@@ -3438,12 +3438,14 div#legend_container table,div#legend_ch | |||||
3438 |
|
3438 | |||
3439 | div#legend_container table td{ |
|
3439 | div#legend_container table td{ | |
3440 | border: none !important; |
|
3440 | border: none !important; | |
3441 |
padding: |
|
3441 | padding: 0px !important; | |
|
3442 | height: 20px !important; | |||
3442 | } |
|
3443 | } | |
3443 |
|
3444 | |||
3444 | div#legend_choices table td{ |
|
3445 | div#legend_choices table td{ | |
3445 | border: none !important; |
|
3446 | border: none !important; | |
3446 | padding: 0px !important; |
|
3447 | padding: 0px !important; | |
|
3448 | height: 20px !important; | |||
3447 | } |
|
3449 | } | |
3448 |
|
3450 | |||
3449 | div#legend_choices{ |
|
3451 | div#legend_choices{ |
@@ -154,12 +154,17 E.onDOMReady(function(e){ | |||||
154 |
|
154 | |||
155 | var inputs = choiceContainer.getElementsByTagName("input"); |
|
155 | var inputs = choiceContainer.getElementsByTagName("input"); | |
156 | for(var i=0; i<inputs.length; i++) { |
|
156 | for(var i=0; i<inputs.length; i++) { | |
157 |
|
|
157 | var key = inputs[i].name; | |
158 | continue; |
|
158 | if (key && datasets[key]){ | |
|
159 | if(!inputs[i].checked){ | |||
|
160 | data.push({label:key,data:[[0,1],]}); | |||
|
161 | } | |||
|
162 | else{ | |||
|
163 | data.push(datasets[key]); | |||
|
164 | } | |||
159 |
|
165 | |||
160 | var key = inputs[i].name; |
|
166 | } | |
161 | if (key && datasets[key]) |
|
167 | ||
162 | data.push(datasets[key]); |
|
|||
163 | }; |
|
168 | }; | |
164 |
|
169 | |||
165 | if (data.length > 0){ |
|
170 | if (data.length > 0){ |
General Comments 0
You need to be logged in to leave comments.
Login now