Skip to content
Snippets Groups Projects
Commit 908db7c7 authored by Dorine Lambinet's avatar Dorine Lambinet Committed by benoit-cty
Browse files

Ajuste emplacement des annotations et rend le schéma symétrique

parent 8fdb4ba1
No related branches found
No related tags found
1 merge request!6Ajout de la section Education
......@@ -201,7 +201,7 @@ export function plot_map(
type: "line",
x0: 0,
y0: ips,
x1: -10,
x1: -15,
y1: ips,
line: {
color: "gray",
......@@ -212,12 +212,12 @@ export function plot_map(
)
const annotations_prive_france = ips_premier_et_second_prive_france.map(
(ips) => ({
x: -10,
x: -18,
y: ips,
xref: "x",
yref: "y",
ax: 0,
ay: -10,
ay: 0,
text: ips_premier_et_second_france_labels[
ips_premier_et_second_prive_france.indexOf(ips)
],
......@@ -268,7 +268,7 @@ export function plot_map(
)
const shape_ips_public_circo = {
type: "line",
x0: 15,
x0: 10,
y0: customdata.ips_premier_et_second_public_circo,
x1: 0,
y1: customdata.ips_premier_et_second_public_circo,
......@@ -291,12 +291,12 @@ export function plot_map(
},
}
const annotations_prive_circo = {
x: -10,
x: -13,
y: customdata.ips_premier_et_second_prive_circo,
xref: "x",
yref: "y",
ax: 0,
ay: -10,
ay: 0,
text: "IPS moyen",
font: {
size: 10,
......@@ -306,7 +306,7 @@ export function plot_map(
}
const annotations_public_circo = {
x: 17,
x: 13,
y: customdata.ips_premier_et_second_public_circo,
xref: "x",
yref: "y",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment