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

Add gaps, time ranges, time zones, defaults to the canvas YAML #6389

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

begelundmuller
Copy link
Contributor

@begelundmuller begelundmuller commented Jan 10, 2025

Changes to the canvas YAML:

  • Adds gap_x and gap_y
  • Adds time_ranges
  • Adds time_zones
  • Adds defaults: with support for time_range, comparison_mode and comparison_dimension
  • Removes the show property for components, which is no longer used

Example canvas YAML:

type: canvas
max_width: 4
gap_x: 1
gap_y: 2
time_ranges:
  - P2W
  - range: P4W
  - range: P2M
    comparison_offsets:
      - P1M
      - offset: P4M
        range: P2M
defaults:
  time_range: P4W
items:
- component: c1

@begelundmuller begelundmuller self-assigned this Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant