feat(partition): small multiples#1076
Merged
monfera merged 31 commits intoelastic:masterfrom Mar 23, 2021
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1076 +/- ##
==========================================
+ Coverage 71.77% 71.98% +0.20%
==========================================
Files 381 397 +16
Lines 11743 12229 +486
Branches 2512 2636 +124
==========================================
+ Hits 8429 8803 +374
- Misses 3299 3387 +88
- Partials 15 39 +24
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
b0b1240 to
6da2336
Compare
…trude into margin
…ty chart due to all zero slices
8ff0f95 to
30e3241
Compare
markov00
reviewed
Mar 23, 2021
src/chart_types/partition_chart/state/selectors/drilldown_active.ts
Outdated
Show resolved
Hide resolved
Contributor
Author
|
The vertical offsetting is improved to avoid cropping with a zero outer panel pad: cb12f05 and the Theme iteration (follow-up PR) will use the Theme font and padding specs |
markov00
approved these changes
Mar 23, 2021
Collaborator
markov00
left a comment
There was a problem hiding this comment.
LGTM, merging on green.
Followup PR:
- fix hierarchical legend
…tition-4 # Conflicts: # api/charts.api.md
github-actions bot
pushed a commit
that referenced
this pull request
Mar 23, 2021
# [26.0.0](v25.4.0...v26.0.0) (2021-03-23) ### Features * **partition:** small multiples ([#1076](#1076)) ([282082b](282082b)) ### BREAKING CHANGES * **partition:** clarifies the inner/outer padding notation `<SmallMultiples style={{horizontalPanelPadding, verticalPanelPadding}}` from `[outer, inner]` to `{outer, inner}`—they still have the same effect
Collaborator
|
🎉 This PR is included in version 26.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
3 tasks
AMoo-Miki
pushed a commit
to AMoo-Miki/OpenSearch-Dashboards
that referenced
this pull request
Feb 10, 2022
# [26.0.0](elastic/elastic-charts@v25.4.0...v26.0.0) (2021-03-23) ### Features * **partition:** small multiples ([opensearch-project#1076](elastic/elastic-charts#1076)) ([9b7f2f6](elastic/elastic-charts@9b7f2f6)) ### BREAKING CHANGES * **partition:** clarifies the inner/outer padding notation `<SmallMultiples style={{horizontalPanelPadding, verticalPanelPadding}}` from `[outer, inner]` to `{outer, inner}`—they still have the same effect
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
Small multiples for partition charts
index): multiple<Partition>specs under<Chart>WIPinnerIndex): breakdown of a<Partition>spec along its first partitioning layergetChartIdSelectors in place of previous repeated(state) => state.chartIds (earlier unrelated feedback by Nick)PanelPlacement,RelativeMarginscontainerBackgroundColoringetShapeViewModel(no longer optional)[outer, inner]to{outer, inner}Warning, will likely do
push -fwhile it's WIPChecklist
Delete any items that are not applicable to this PR.
src/index.ts(and stories only import from../srcexcept for test data & storybook)marginand adding title info to the tooltip<GroupBy>...if it doesn't fit horizontally