Skip to content

Highlight correct year in mini-chart #370

@mevionfamos

Description

@mevionfamos

Description

The mini-chart in the side-panel always highlights the last datapoint, even when a different year is selected. Instead, the dot should highlight the current period.

Reproduction Steps

  1. Navigate to /map?entity=municipality&period=2023
  2. Click on any municipality
  3. Observe the dot and dashed line are at the latest period, not 2023

Expected Behavior

The dot should highlight the current period

Additional Context

Image

Test Environment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions