-
Notifications
You must be signed in to change notification settings - Fork 121
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
Display y0 and y1 names on tooltip for band charts #162
Comments
Related to #163 |
Allow user to set postfix for upper and lower bound of banded series to distinguish between values closes elastic#162
@cchaos Could you comment on how this should be styled? It's basically when we have a banded area or bar series and how to display the lower and upper bounds in the tooltip and legend (#163). The way it is setup now the tooltip would have two labels and two values like this and the label would distinguish them. But I am thinking it would be better if we kept them as one series and stacked the values in some way. This would be better for the legend too because I want to avoid having two legend values, mainly to avoid hiding and showing of the upper and lower bounds which doesn't really make sense. Also the dual label is a little redundant. I'm thinking of something like below. If you could also comment on how the legend should look on #163, that would be greatly appreciated. |
Visually I would love to see the values in the tooltip be represented in the similar order to the one on the graph.
|
Ooo that will be a little difficult since If we were able to do it this way that would create 2 legend entries, which I think there should only be one so we don't allow toggling the upper and lower bounds separately. What would be your second option, if this is not possible? |
Then I'd just write it out as upper and lower. |
🎉 This issue has been resolved in version 13.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
- Allow user to set postfix for upper and lower bound of banded series to distinguish between values sets - Update `displayValue` type changes, fix defaulting point values from 0 to null. closes #162
- Allow user to set postfix for upper and lower bound of banded series to distinguish between values sets - Update `displayValue` type changes, fix defaulting point values from 0 to null. closes elastic#162
🎉 This issue has been resolved in version 13.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [13.3.0](elastic/elastic-charts@v13.2.0...v13.3.0) (2019-10-02) ### Features * **tooltip:** tooltip label format for upper/lower banded area series ([opensearch-project#391](elastic/elastic-charts#391)) ([701264c](elastic/elastic-charts@701264c)), closes [opensearch-project#162](elastic/elastic-charts#162)
# [13.4.0](elastic/elastic-charts@v13.3.0...v13.4.0) (2019-10-07) ### Features * banded legend values ([opensearch-project#398](elastic/elastic-charts#398) & [opensearch-project#408](elastic/elastic-charts#408)) ([ca1c7ac](elastic/elastic-charts@ca1c7ac)), closes [opensearch-project#162](elastic/elastic-charts#162)
A band area chart tooltip does't display two different names for the y0 and y1 value.
The same happens for a bar chart with y0 accessors, it will display only the y1 value.
The text was updated successfully, but these errors were encountered: