Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14063] Graphique Cartographie - Projection française : les départements ne s'affichent plus dans la tooltip #2195

Open
nantonot opened this issue Oct 21, 2024 · 2 comments
Labels
⚠️ Minor defect Le problème ne permet pas d'optimiser le processus standard ou concerne un cas d'usage spécifique 👷‍♂️ Ready to go Le besoin ou le problème est validé, il prêt à être développé..

Comments

@nantonot
Copy link

nantonot commented Oct 21, 2024

En v14063, les départements sur le graphique carte de France ne s'affichent plus dans la tooltip :
image
Voir : http://192.168.31.238:49365/instance/test-energie-echantillon/graph/Ixzc

Alors que dans la v12554, ils s'affichaient :
image
Voir : http://192.168.31.238:49369/graph/YQOm

Serait-ce possible de rétablir cet affichage ?

@nantonot nantonot added the Triage Nouveau problème ou besoin à étudier et à classer label Oct 21, 2024
@nantonot nantonot changed the title [14063] Graphique Cartographie - Projection française : les déparements ne s'affichent plus dans la tooltip [14063] Graphique Cartographie - Projection française : les départements ne s'affichent plus dans la tooltip Oct 21, 2024
@yannguillemin yannguillemin added ⚠️ Minor defect Le problème ne permet pas d'optimiser le processus standard ou concerne un cas d'usage spécifique 👷‍♂️ Ready to go Le besoin ou le problème est validé, il prêt à être développé.. and removed Triage Nouveau problème ou besoin à étudier et à classer labels Oct 22, 2024
@yannguillemin
Copy link
Collaborator

yannguillemin commented Oct 22, 2024

En attendant de modifier le formatage par défaut du "Graph - Cartography" pour adapter le code vega-lite automatiqument généré, il est possible de le faire à la main en supprimant les lignes suivantes (ne pas associer la propriété NAME_0 à un champ car elle correspond au nom du pays).
Ex en V14.0.63 : https://lodex-dev.inist.fr/instance/demo-climat/graph/LuFk
"tooltip": [
{
"field": "properties.NAME_0",
"type": "nominal",
"title": "Département" ou "autres"
},

{
"field": "properties.NAME_1",
"type": "nominal",
"title": "Région"
},
{
"field": "properties.NAME_2",
"type": "nominal",
"title": "Département"
},
{
"field": "value",
"type": "quantitative",
"title": "Nb Publis"
}
]

@yannguillemin yannguillemin reopened this Oct 24, 2024
@github-actions github-actions bot added the Triage Nouveau problème ou besoin à étudier et à classer label Oct 24, 2024
@yannguillemin yannguillemin removed the Triage Nouveau problème ou besoin à étudier et à classer label Oct 24, 2024
@yannguillemin
Copy link
Collaborator

En complément, si l'info-bulle venait à être renseignée via l'interface graphique, il faut bien entrer "Département" pour le champ "Category" sinon, il y a interférence avec le code Vega-Lite et on peut obtenir la chose suivante :
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚠️ Minor defect Le problème ne permet pas d'optimiser le processus standard ou concerne un cas d'usage spécifique 👷‍♂️ Ready to go Le besoin ou le problème est validé, il prêt à être développé..
Projects
None yet
Development

No branches or pull requests

2 participants