[Lens] Use new AxisLabelOrientationSelector
component in XY chart toolbar
#206040
Labels
Feature:Lens
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
technical debt
Improvement of the software architecture and operational architecture
Describe the refactor
In PR #202143 we created the
AxisLabelOrientationSelector
component to enable changing the label rotation.This component was extracted from
x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/axis_settings_popover.tsx
. We need to replace the existing code in the above mentioned file with the newAxisLabelOrientationSelector
component to avoid duplication.Additionally, we need to extract the
AxesSettingsConfigKeys
type in other file so we can reuse it inx-pack/platform/plugins/shared/lens/public/shared_components/axis/ticks/axis_ticks_settings.tsx
to avoid importing from XY types.The text was updated successfully, but these errors were encountered: