Skip to main content

TimeframeSelector

    Use the TimeframeSelector to let users filter data by time, choosing from preset timeframes or entering a custom start and end time.

    Behavior tracking attributes

    Strato sets these data-dt-* attributes on the DOM elements of the component, so that Real User Monitoring can track user interactions. They cannot be changed by the consuming application.

    TimeframeSelector

    AttributeValue
    data-dt-componentTimeframeSelector

    TimeframeSelectorOverlay

    AttributeValue
    data-dt-ancestor`#${timeframeSelectorRootId}`

    Presets

    AttributeValue
    data-dt-children-namePreset
    data-dt-properties`valueFrom:${item.from},valueTo:${item.to}`

    StepperButton

    AttributeValue
    data-dt-children-name
    StepBackwardStepForward

    CustomTimeframeSelector

    AttributeValue
    data-dt-children-nameApply

    RecentTimeframes

    AttributeValue
    data-dt-children-nameRecent
    data-dt-properties`index:${index},valueFrom:${timeframe.from},valueTo:${timeframe.to}`

    TimeframeSelectorOverlayFooter

    AttributeValue
    data-dt-children-nameLearnMore
    Still have questions?
    Find answers in the Dynatrace Community