Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
Respect My Net
Commits
b5309ae5
Commit
b5309ae5
authored
Feb 09, 2016
by
Okhin
Browse files
FIX
#20
, fecthing the dataset by iso2 instead of id
parent
65df7239
Changes
1
Hide whitespace changes
Inline
Side-by-side
nnmon/media/js/map.js
View file @
b5309ae5
...
...
@@ -12,7 +12,7 @@ $(document).ready(function() {
.
domain
([
minValue
,
maxValue
])
.
range
([
'
#EFEFEF
'
,
'
#02386F
'
]);
data
.
forEach
(
function
(
item
)
{
var
iso
=
item
.
i
d
,
var
iso
=
item
.
i
so2
,
value
=
item
.
w
;
dataset
[
iso
]
=
{
numberOfCases
:
value
,
fillColor
:
paletteScale
(
value
)};
});
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment