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 file contains 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
Give the users the ability to create custom palettes by applying a specific color to a specific term
Save their custom palettes (either terms or stops palettes) and reuse them
Color terms palettes
The UI follows the Color stops UI. The user has a list of the terms being displayed to the chart and can give whatever color they want. The changes are immediately being displayed in the chart.
if there are some terms in common, it will color the same terms with the predefined colors and will give random colors of the same palette to the rest
If there is no term in common, it will color the terms with random colors of the user-created palette
Save palettes
There are cases that the user would like to save a palette to reuse it either on the same visualization or in another. For example. creating a color stops ui might take some time and if the user wants to apply the same configuration to other visualizations, this means that she has to re-apply everything.
This PR creates a new SO type, the palette. In my PoC, I have two types of palettes, the terms and the stops palettes. The stops palettes are created/used by table and heatmap while the terms palettes by xy and partition charts.
After being said a palette can be used to another chart.
Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.
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
Investigation for #119137 and #101942
This PR tries to address two features:
Color terms palettes
The UI follows the Color stops UI. The user has a list of the terms being displayed to the chart and can give whatever color they want. The changes are immediately being displayed in the chart.

Save palettes
There are cases that the user would like to save a palette to reuse it either on the same visualization or in another. For example. creating a color stops ui might take some time and if the user wants to apply the same configuration to other visualizations, this means that she has to re-apply everything.
This PR creates a new SO type, the
palette
. In my PoC, I have two types of palettes, the terms and the stops palettes. The stops palettes are created/used by table and heatmap while the terms palettes by xy and partition charts.After being said a palette can be used to another chart.

Checklist