* wip, redsign the xy axis general settings
* pie chart settings. fix tests, initial implementation
* Fix Internationalization
* Cleanup
* remove unused translations
* Add test to check that right axis is enabled
* fix test
* remove unecessary translation
* Added icons and cleaned up some of the visuals for grouped buttons
* Fix types
* Axis Settings Popover Reusable Component
* Legend Popover Reusable Component
* Cleanup unused translations
* Fix right axis behavior
* Revert yLeftTitle to yTitle to avoid migration
* PR fixes
* identify which axis is enabled
* Change the logic on enabling the y axes popovers
* Adjust axis popover on horizontal bars
* fix failing test and change the logic of fetching the y axis titles
* Simpify the axis title logic, make the toolbar repsponsive, add TopAxisIcon
* Ui Changes on legends popover
* Cleanup and more unit tests
* use groupId instead of index to take under consideration all possible scenarios
* fix gridlines
* Remove ts-ignore from icons and move toolbar button to shared components
* Workspace toolbar wraps on smaller devices
* Tooltip on Toolbar appears only if the button is disabled
* clean up
* Add missing translations
* fix eslint
Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* [Lens] Add styling options for x axis on the settings popover
* ts related changes
* Changes to the popover's design and y-axis implementatin
* fix types and add unit tests
* Add extra translations
* Fix functional test and change the logic of the yTitle
* fixes
* fix showTitle settings bug
* Fix ticklabels bug on y axes
* fix some tests
* Change the user flow on x and y titles on settings popover and enable the gridlines by default
* disable linter warning
* PR Comments
* Add a comment to callback to explain the decision to listen only to open changes
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Migrated uiSettings items to new platform
* API changes
* Fixed translations
* Fixed comment and i18n
* Fixed tests
* Fixed internalization
* Fix karma tests
* made code more explicit
* Fixed plugin
* Added consts for ui settings ids.
* Added id for another settings
* Fixed tests.
* Improved imports
* Fix imports to public which were happening from the server.
* Fixed paths
* Moved styles to plugin.ts
* Moved styles
* Fixed docs
* Fix ci
* Fix ci
* fix documentation
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
* feat: brushing basic example for time histogram
* test: added
* refactor: simplify the structure
* refactor: move to inline function
* refactor
* refactor
* Always use time field from index pattern
* types
* use the meta.aggConfigParams for timefieldName
* fix: test snapshot update
* Update embeddable.tsx
removing commented code
* fix: moment remov
* fix: corrections for adapting to timepicker on every timefield
* fix: fix single bar condition
* types
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
* feat: don't use auto interval to get interval for single bar
* fix: fixing non auto intervals
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>