feat: heatmap/swimlane chart type#831
Merged
darnautov merged 54 commits intoelastic:masterfrom Oct 2, 2020
Merged
Conversation
|
💚 CLA has been signed |
breaking change caused by changes in elastic#810 see elastic#830 for more info BREAKING CHANGE: `TooltipValue.value` is now raw value and `TooltipValue.formattedValue` is now the string formatted value. fix elastic#810
9fa1b8c to
5c87e27
Compare
darnautov
commented
Oct 1, 2020
| .domain(ranges) | ||
| .interpolate(interpolateHcl) | ||
| .range(colorRange); | ||
| colorScale.ticks = [0, ...colorScale.config.ticks(6)]; |
Contributor
Author
There was a problem hiding this comment.
I believe it doesn't cover the case when the values in the range are negative
Contributor
Author
@nickofthyme added in 0af6a9a, thanks @markov00 |
markov00
approved these changes
Oct 2, 2020
Collaborator
markov00
left a comment
There was a problem hiding this comment.
LGTM tested locally.
Everything is in place for an alpha release
Collaborator
|
🎉 This PR is included in version 23.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
2 tasks
This was referenced Oct 6, 2020
Closed
AMoo-Miki
pushed a commit
to AMoo-Miki/OpenSearch-Dashboards
that referenced
this pull request
Feb 10, 2022
# [23.1.0](elastic/elastic-charts@v23.0.1...v23.1.0) (2020-10-02) ### Features * heatmap/swimlane chart type ([opensearch-project#831](elastic/elastic-charts#831)) ([7cd9a6b](elastic/elastic-charts@7cd9a6b)), closes [opensearch-project#752](elastic/elastic-charts#752)
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Resolves #752.
Initial implementation of a swimlane/heatmap visualization. I was mostly focused on the swim lane use case, but thanks to @markov00 it also has basic heatmap support.
There are some TS and test issues I'm resolving at the moment but would be helpful to start collecting feedback on the implementation, or maybe you'll spot a lacking of some critical features for the beta release.
Swim lane example:

Heatmap example:

Features:
Known issues (I hope @nickofthyme or @markov00 could help)
mouseDownPositionScaleContinuoustime scale ends up with some ticks outside of the rangeTODO for further releases:
Checklist
src/index.ts(and stories only import from../srcexcept for test data & storybook)