-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Lens] Line chart styling controls #124279
Comments
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
Premise: What I can say is that typically in data visualization missing data values in time series are treated visually different and since it shouldn't happen frequently the tendency is to make the missing data as prominent as possible. For example, by removing completely the lines that should go among them in order to be extremely clear for the user that we have no values and to avoid implicating increase/decrease in values that are a result of a pure graphical interpolation of points with a line. But this is just a usual case, which I believe does not apply well to us. Since we could have a lot of time buckets without values, I'm seeing a lot of timeseries that are almost unreadable since we have single dots, far from each other, not connected since we have missing values in between. What I would suggest is to set by default a visual treatment that would draw the lines (maybe instead of interpolating points that are really far from each other, to make the line go to zero and up again when it reaches the bucket with values) and allow the users to customize it according to their needs. But the starting point would be to draw lines in a way that is clear what's happening without compromising the reading of the chart. On last thing, for the record, I wouldn't allow full customization for the users, I would let them choose among a series of treatments made by us, as it currently is if I'm correct. |
just an idea (in passing) on how to migrate to new behaviors is to introduce "auto" and turn the existing defaults into a specific configuration. other problems we are solving if we had better defaults:
|
No traction on this? I would also like to be able to show dots on the data points of a line chart. We can do it with an aggregation-based line chart, but still not with Lens even on version 8.11.1. I like that you can add layers in Lens, but it still does not quite fully replace the old visualizations. |
@MakoWish thanx for your comment. We are thinking of adding the dots in the data points in Lens but mostly as a switch. This would show/hide the dots and you won't be able to change the radius. Is it something you would be ok with? If not, why would you want to change the sizes? Can you give us examples of some use cases? Thanx! |
Hi @stratoula, It really goes back to the point I have been saying for a long time now. Lens is just not yet a full replacement for the Aggregation Based visualizations. You can adjust the dot size on the Aggregation Based Line graph, so if Lens is supposed to be the new replacement (we are now blocked from using Aggregation Based visualizations with Integrations), the Lens functionalities should at least match what the Aggregation Based visualizations can do. Lens does have a lot of nice things about it (layers for instance), but there are still missing features on it (inability to link to Saved Searches is still my biggest gripe). The use case would be that my preference on size may not be the same as another customer's preference on the size. One thing I would like to see is the ability to mix lines, lines with dots, or just dots on the different layers. In certain situations, it helps to visualize differences between the two layers. In the following example image, the boxes and text above the dots were added graphically, so please ignore those and note only the line for the "average", and the dots for the exact data points. Here is my best attempt with Elastic to do something similar. I have one layer for the individual data points (colored in grayscale), and a second layer for the average. I would like to show just the line for the "average" layer, and just the dots on the specific data points layer; similar to the example above. |
Describe the feature:
Control dot size, show/hide dots, line width, line stroke
Describe a specific use case for the feature:
When My data has missing results in time interval buckets
I need to override the default styling with specific dot size, stroke, and line width
So I can achieve the continuous look and feel even when my data is missing buckets
Related discuss post
Would be good for @gvnmagni to remark as to what we should expose from a vis best practices here (at his leisure or when this is planned for a minor release)
The text was updated successfully, but these errors were encountered: