You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR adds legends to the charts on the node detail page. This also increases the height of the charts by 50 pixels to make room for the legend on the system cpu chart. This PR also turns on the points for line and area charts so single points are easier to see.
Checklist
Use strikethroughs to remove checklist items you don't feel are applicable to this PR.
I also think that a circle over each point could be smaller and thinner.
Since we've already addedperiod to Metricbeat data in 7.4.0, we can avoid disconnected points on charts by making use of that value. Therefore I don't think we need to emphasize every point so our charts can only show lines. The dots can make some graphs look untidy, e.g.:
Same^ goes for Metrics Explorer - the charts look excessively busy with points. Happy to create a new issue if it's more than just a quick fix.
We're facing the same alignment problems with elastic-charts on the log rate analysis page. If you come across a good solution we'd be interested to learn about it.
@weltenwort@sorantis It's not possible because the Y-Axis legend labels are aligned "right" to the y-axis. Almost every charting system on the market will have this issue. The only way to make it look "aligned" is if we visually changed the size of the left padding (which won't work because our data is dynamic). The other option is to draw a container around the chart and then align to the container but allowing the y-axis labels enough room to grow and shrink based on the values.
@sorantis I think we should leave the points as they are because it's becomes obvious when data is missing or if we only have 1 point; it favors accuracy over ascetics. If we want to move forward with this I would recommend opening a new issue so it doesn't get lost.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds legends to the charts on the node detail page. This also increases the height of the charts by 50 pixels to make room for the legend on the system cpu chart. This PR also turns on the points for line and area charts so single points are easier to see.
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.This was checked for cross-browser compatibility, including a check against IE11Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n supportDocumentation was added for features that require explanation or tutorialsUnit or functional tests were updated or added to match the most common scenariosThis was checked for keyboard-only and screenreader accessibility