Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve "stacked" graph positioning #668

Open
gavincabbage opened this issue Aug 25, 2021 · 3 comments
Open

Improve "stacked" graph positioning #668

gavincabbage opened this issue Aug 25, 2021 · 3 comments

Comments

@gavincabbage
Copy link

Thank you for suggesting an idea to improve InfluxData UI.

Proposal:

Our "stacked" graph positioning should clearly differentiate different tables within a graph with high-contrast colors, particularly when shading the area under the graph is enabled.

For example, here's a Grafana screenshot of a stacked graph:

Screen Shot 2021-08-25 at 9 06 19 AM

Note that the graph line and the shading are the same color and easily differentiable. Additionally, when a value goes to zero, the "width" of area under the line goes to zero and the color disappears nearly entirely from the graph.

Current behavior:

Contrast the above with our current stacked graph type:

Screen Shot 2021-08-25 at 9 09 11 AM

Note that the shading under the lines is not the same color as the line itself. The low opacity shading does not work well with "stacked" positioning, as any are colors are not differentiable and all the shaded areas seem to be the same grey. The lines are stacked correctly, but the primary value of a stacked graph is visualize the "width" of a given line to communicate that table's share of the whole. That is difficult to do without this proper high-contrast shading filling out that width.

Additionally, when a table's value goes to zero, its color does not disappear from the graph. Take the green line in the image above for example: At the highlighted point, this table's value is zero, but because of the ordering of the lines it remains at the top, and makes the graph look like the green color is dominating through the period shown.

The combination of these two issues really diminish the usefulness of "stacked" positioning, as what it communicates is not accurate within normal expectations of stacked graphs generally.

Desired behavior:

Shading under lines should match the color of the line and tables whose values are at zero should not have their color represented on the graph.

Alternatives considered:

Using Grafana.

Use case:

My use case is in visualizing an organization's "share" of consumed query time among the total query time consumed in an environment.

@gavincabbage
Copy link
Author

cc @aanthony1243

@TCL735
Copy link
Contributor

TCL735 commented Aug 26, 2021

Related to #669

@TCL735
Copy link
Contributor

TCL735 commented Nov 29, 2021

This is very complex if negative values are included with the stacked graphs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants