influxdata / influxdata/giraffe
feature: option to force sorting in line interpolation
- Dominant language
- TypeScript
- Stars
- 189
- Forks
- 33
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 4
Description
Originally seen in https://github.com/influxdata/influxdb/issues/18642
Line interpolation in line graphs currently interpolate the data points (connect the dots) in some particular order. Whatever it is currently doing causes line interpolation to render incorrectly in some cases. The line doubles back on itself which should not happen when the data points should be interpolated in time order.
Since this feature will involve sorting, there will be a performance cost. As a line graph option, allow the user to opt out of this performance cost when the default line interpolation is correct.
Contributor guide
Research direction
Start by locating the line interpolation implementation and the line graph options in the TypeScript code, then review the linked InfluxDB issue for the rendering failure. Trace the current point ordering and identify how a graph option can control sorting. Done means line graphs can opt into time-order interpolation while retaining the existing behavior when that option is not enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100