influxdata / influxdata/influxdb

Line graphs plotted out of order

Open
#18,642 8 comments 0 reactions 0 assignees View on GitHub
kind/bug severity/sev-4 team/dumplings team/ui v2-prod-bug
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

Sometimes data is returned out of time order from the query engine. The UI plots the points on a sorted x-axis, but does not draw the line in the correct order.

> once you start regrouping rows into different table shapes, the ordering is no longer guaranteed and you'll have to use sort() if you want something particularly ordered

![Screen Shot 2020-06-22 at 11 09 21 AM](https://user-images.githubusercontent.com/4805997/85327861-88154700-b484-11ea-8305-b14666c7d4db.png)

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by reproducing the issue with query data returned out of time order, then inspect the UI path that plots regrouped rows and compare the sorted x-axis with line traversal. Done means the line follows the intended data order while the x-axis remains sorted.

Written by the indexing model from the issue text.

Assessment

Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.