Skip to content

Extended intervals? #1824

Open
Open
@Fil

Description

@Fil
Contributor

A technique demonstrated here to extend an interval’s range from the day before the first day to the day after the last, allowing to create a "complete" area. I come across this frustrating situation once in a while, and wonder if we could have a built-in option for this. Maybe Plot.extendInterval("day")? Or, we don't, but it would be nice instead to expose Plot.interval with an argument such as "3 days" or 1, that returns an object with {floor, offset, range}, so we can tweak that programmatically?

Activity

added
enhancementNew feature or request
questionFurther information is needed
on Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Fil

        Issue actions

          Extended intervals? · Issue #1824 · observablehq/plot