Skip to content

Extend the charts to show the current time #11326

@ale-cristofori

Description

@ale-cristofori

Description

Extend the charts to show the current time .: Here we need to receive a depeendency for widget of currentTime. If one axis is of type time, then we can report the value (or the interval) included.
We have to properly insert the dependency as the bounding box for time. Avoid to include it when the timeline is out of data range (see anyway during dev, what's the final effect and what is needed for this.
We need also to design how to make this properly extensible with alternatives like time filtering that have to be managed.

Acceptance criteria

  • If the user create a widgets on the map from a layer that has time data (e.g. use meteorite landings layer).
  • When selecting axis properties, if the user forces the type of the axis to "date", a checkbox appears, to ask to show the current time.
  • If the option is checked, the user sees the options to customize the current time line style
  • the preview of the chart the user can see the line configured on the chart, in corrispondence of the current time in timeline
  • When saved the widget will show the chart and the map, with same line that moves when time on timeline changes.

Note: when the widget and timeline are on the same map, they can be switched each other, but with "pin" of the widget, they can be shown at the same time.

Other useful information

Basically we should:

  • add to the "Axis" section (X or Y) a checkbox to "show current time on the axis" . Thinking if make sense to show it only when the user forces the time value to date... let's see what's better during dev.
    here:
Video.del.2025-07-18.12-17-29.mp4
  • The current time should be shown on the chart
    • as a dashed line
    • as an area below the chart, similar to the one that shows on the timeline, in case of range.

Metadata

Metadata

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions