-
Notifications
You must be signed in to change notification settings - Fork 120
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
feat: heatmap/swimlane chart type #831
feat: heatmap/swimlane chart type #831
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
.domain(ranges) | ||
.interpolate(interpolateHcl) | ||
.range(colorRange); | ||
colorScale.ticks = [0, ...colorScale.config.ticks(6)]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe it doesn't cover the case when the values in the range are negative
@nickofthyme added in 0af6a9a, thanks @markov00 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM tested locally.
Everything is in place for an alpha release
🎉 This PR is included in version 23.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [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)
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)
mouseDownPosition
ScaleContinuous
time scale ends up with some ticks outside of the rangeTODO for further releases:
Checklist
src/index.ts
(and stories only import from../src
except for test data & storybook)