influxdata / influxdata/influxdb

stepped values that are representative either before or after the most recent data point.

Open
#20,552 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

__Proposal:__
stepped values that are representative either before or after the most recent data point.

__Current behavior:__
Currently, selecting stepped lines in v2, the visual vertical step happens at some arbitrary location between two data points.

__Desired behavior:__
It would be nice to be able to select whether the vertical step happens at the left data point, or at the right data point.

__Alternatives considered:__
Before I add a new value to a timeseries, I first add a 'phantom point' at the current timestamp with the previous value. This simulates a vertical step at the 'new' timestamp.

__Use case:__
Why is this important (helps with prioritizing requests)?
For financial data, it makes sense that in the absense of new information, the last value seen is still valid, and the value only 'jumps' when the new information arrives.

Contributor guide

Open the contributing guide

Research direction

Start by locating the v2 stepped-line rendering and the configuration that controls stepped values; no files or tests are named in the issue. Compare behavior when the vertical step represents the left data point versus the right data point, and consider the financial time-series use case. Done means users can select either interpretation and the visual step occurs at the corresponding data point.

Written by the indexing model from the issue text.

Assessment

Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.