Skip to content

Commit

Permalink
Add border to current land in bubble chart
Browse files Browse the repository at this point in the history
  • Loading branch information
smdsgn committed Dec 3, 2024
1 parent 1d6f911 commit 961debe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions project/charts/demography/PopulationConsoComparisonChart.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ def get_bubble_series(self):
}
],
"color": HIGHLIGHT_COLOR if land.id == highlighted_land_id else None,
"marker": {
"lineWidth": 3 if land.id == highlighted_land_id else 1,
},
# La couleur du territoire diagnostiqué est précisée, les autres sont aléatoires (valeur None)
}
for land in lands
Expand Down

0 comments on commit 961debe

Please sign in to comment.