-
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
Stacked line charts incorrectly shows one term as 100% #29386
Comments
That's actually "expected behavior". Stacking line charts, (without enabling areas) usually doesn't make much sense in the terms of data visualizations. Stacking makes sure, that not all series are drawn from "the bottom" of the chart, but are drawn on top of the previous series (as it's pretty well shown in the bar chart). If you use lines, it doesn't really make sense to use that, because due to the lack of "filling" of the lines, it's pretty confusing, that the 2nd line is now drawn on top of the first line. But the outcome is perfectly fine. The output will always just be the line, that connects the top of the bars in the stacked bar chart. I will close this since this is desired behavior, though we def will make sure in the new visual editor (#17076) that users can't shot themselves in their foot using senseless chart configurations. |
The issue is not the stacked line chart but the normal line chart... It's acting like its stacked and not starting the lines from the bottom of the chart. |
Sorry, I misread that. Reopening. |
The error is persistent in Version 7.5.1 It appears on Visualization: Line -> Chart type: Line -> Mode: Stacked ->Y-axes -> Mode: Percentage Moreover, if you switch Mode from Stacked to Normal, nothing happens, so there are no "Normal" Line Visualizations with y-axes Mode: Percentage. |
Hi @timroes, I was wondering if there is any update on this issue? This type of chart will allow us to see information in a very insightful way. |
Hi, we are in version 7.5.2 and also affected by this. Is there any new info about the status of this issue? |
Pinging @elastic/kibana-app (Team:KibanaApp) |
@stratoula we should validate sometime if this is still valid with the elastic-charts implementation |
This is still happening for elastic-charts, but it's more consistent now. If "percentage" is enabled, the series are always stacked. It think there are two approaches we can take:
I think the first option is better here. |
Exactly as Joe said, I agree let's allow only stacked for the percentage mode. |
Kibana version: 6.5.3
Elasticsearch version: 6.5.3
Server OS version: Centos 7
Browser version: Chrome 71.0.3578.98
Browser OS version: Windows 10
Original install method (e.g. download page, yum, from source, etc.): Unpacked tarball.
Describe the bug: When you chose a stacked line graph, the line for one of the terms is drawn correctly, while the other is drawn incorrectly as 100%.
Steps to reproduce:
bar
toline
inChart Type
normal
tostacked
inMode
The
true
line is drawn incorrectly as100%
Normal Mode:
Stacked Mode:
Expected behavior:
Similar to the bar version of the graph:
The text was updated successfully, but these errors were encountered: