kibana/docs
Walter M. Rafelsberger b0f2c611f2
Remove legacy time axis advanced setting (#221419)
## Summary

Follow up to #210579. Close #193683.

This PR removes the deprecated `visualization:useLegacyTimeAxis`
advanced setting and all related code. This setting was previously used
to enable legacy time axis behavior for charts in Lens, Discover,
Visualize and TSVB, but has been deprecated and is no longer needed. All
usage of the setting was already removed in #210579, this PR just cleans
up the advanced setting itself.

## Changes

- Removed the `visualization:useLegacyTimeAxis` UI setting registration
from the charts plugin
- Removed `LEGACY_TIME_AXIS` constant export from charts common module
- Cleaned up related TypeScript configuration dependencies
- Removed telemetry schema entries for the deprecated setting
- Removed translation strings for the deprecated setting
- Adds a saved object migration to remove the setting (see [advanced
settings
migrations](https://docs.elastic.dev/kibana-dev-docs/tutorials/advanced-settings#registering-migrations))

### Identify risks

- Identified that a saved object migration needs to be added for the
removal of the setting. See this
[PR](https://github.com/elastic/kibana/pull/157699) for reference.
- Advanced settings [can be
overridden](https://www.elastic.co/docs/extend/kibana/ui-settings-service#uisettings-overrides)
in `kibana.yml`. If the setting is present in `kibana.yml` and we remove
support for it, if verification of the file was too strict, it would
fail to start Kibana. I verified that Kibana still starts when support
for the advanced setting was removed but it's still present in
`kibana.yml`.

## Release note 

Removal of the deprecated `visualization:useLegacyTimeAxis` advanced
setting.
2025-06-23 11:30:29 +02:00
..
development/plugins/expressions/public Remove old doc generation system for core APIs (#134313) 2022-06-21 17:43:17 +02:00
extend APEX-72 Enforce Kibana >= 8.18.0; Remove switchToModelVersionAt (#220985) 2025-06-20 16:41:54 +02:00
reference Remove legacy time axis advanced setting (#221419) 2025-06-23 11:30:29 +02:00
release-notes [Docs][9.0.2] Add known issue about kibana.yml file (#222213) 2025-06-03 08:57:59 -04:00
settings-gen [Response Ops][Connectors] New xpack.actions.email.services.enabled Kibana setting (#223363) 2025-06-20 16:10:43 +02:00
CHANGELOG.asciidoc [ResponseOps][Alerting] Add deprecation object to legacy rule endpoints (#201550) 2024-11-28 08:45:11 +01:00
docset.yml XSOAR Connector (#212049) 2025-06-20 14:50:07 +02:00