Skip to content
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

[XY axis] Updates the sample data to work with the default eui palette #94781

Merged
merged 1 commit into from
Mar 18, 2021

Conversation

stratoula
Copy link
Contributor

@stratoula stratoula commented Mar 17, 2021

Summary

Closes #94067. This PR updates our XY axis sample viz in order to use the default EUI palette instead of the legacy one. I have added the palette configuration on the saved objects and I have updated the migration script to only add the kibana legacy palette configuration for the saved objects that don't contain this info.

The reason that we are doing this is because we want to drive our users towards the EUI palettes.

How to test

Install the sample datasets again and check all the XY axis visualizations (the Legacy charts advanced setting should be off). They should load with the EUI palette, for example:
image

Set the switch to on (enable the vislib charts). The visualizations should render with the legacy palette.

Checklist

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@stratoula stratoula added Feature:XYAxis XY-Axis charts (bar, area, line) release_note:skip Skip the PR/issue when compiling release notes v7.13.0 v8.0.0 labels Mar 17, 2021
@stratoula stratoula marked this pull request as ready for review March 17, 2021 11:18
@stratoula stratoula requested a review from a team March 17, 2021 11:18
@stratoula stratoula requested a review from a team as a code owner March 17, 2021 11:18
@stratoula stratoula added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Mar 17, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@stratoula stratoula changed the title [XY axis] Update the sample data to work with the default eui palette [XY axis] Updates the sample data to work with the default eui palette Mar 17, 2021
Copy link
Member

@kertal kertal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM 👍 , tested locally in Chrome Firefox Safari, EUI color default palette is in use in the edited sample data, just noted [Logs] Unique Visitors vs. Average Bytes where it's selected but the different colors seem to selected, guess it's because using default colors would show low contrast here (tried it out):

Bildschirmfoto 2021-03-18 um 17 54 14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:XYAxis XY-Axis charts (bar, area, line) release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.13.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[XY axis] Update the sample viz to use the default palette
5 participants