Skip to content

Commit

Permalink
FR pop
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaffuri committed Oct 24, 2023
1 parent 7e2116c commit 77899af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/FR_pop.html
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@
//legend
app.layers[0].styles[0].legends.push(
new gviz.ColorLegend({
title: "Changement de population de "+y1+" à "+y2+", en nombre d'habitants",
title: "Changement de population de " + y1 + " à " + y2 + ", en nombre d'habitants",
ticks: 7,
width: 500,
colorRamp: d3.interpolateSpectral,
Expand Down Expand Up @@ -537,7 +537,7 @@
//legend
app.layers[0].styles[0].styles[0].legends.push(
new gviz.ColorLegend({
title: "Changement de population de "+y1+" à "+y2,
title: "Changement de population de " + y1 + " à " + y2,
width: 300,
ticks: 3,
colorRamp: (t) => colR(1 - Math.floor(t * nb) / nb),
Expand Down Expand Up @@ -570,7 +570,7 @@
//legend
app.layers[0].styles[0].legends.push(
new gviz.SizeLegend({
title: 'Changement de population',
title: "Changement de population " + y1 + "-" + y2,
exaggerationFactor: 0.9,
shape: 'circle',
labelUnitText: 'habitants',
Expand Down

0 comments on commit 77899af

Please sign in to comment.