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

fix: add option to disable the isolated point styles on line and area charts #2472

Merged
merged 3 commits into from
Jun 24, 2024

Conversation

nickofthyme
Copy link
Collaborator

@nickofthyme nickofthyme commented Jun 23, 2024

Summary

This PR add the enabled prop to the isolatedPoint style option in the Theme for LineSeries and AreaSeries. These isolated styles can be unexpected and unwanted and in such case difficult to remove. Thus setting this enabled option to false will render the points as normal points.

Details

Based on discussions from #2460, I think it's best to have an easy way to disable the isolated point styles.

Issues

related to #2460

Checklist

  • The proper chart type label has been added (e.g. :xy, :partition)
  • The proper feature labels have been added (e.g. :interactions, :axis)
  • All related issues have been linked (i.e. closes #123, fixes #123)
  • New public API exports have been added to packages/charts/src/index.ts
  • Unit tests have been added or updated to match the most common scenarios
  • The proper documentation and/or storybook story has been added or updated

@nickofthyme nickofthyme added :styling Styling related issue :xy Bar/Line/Area chart related :theme labels Jun 23, 2024
@nickofthyme
Copy link
Collaborator Author

buildkite update screenshots

@nickofthyme nickofthyme marked this pull request as ready for review June 24, 2024 00:17
@nickofthyme nickofthyme changed the title feat: add option to disable the isolated point styles on line and area charts fix: add option to disable the isolated point styles on line and area charts Jun 24, 2024
@nickofthyme nickofthyme merged commit ae16815 into elastic:main Jun 24, 2024
14 checks passed
@nickofthyme nickofthyme deleted the enablement-iso-point-styles branch June 24, 2024 15:00
nickofthyme pushed a commit that referenced this pull request Jun 24, 2024
## [66.0.4](v66.0.3...v66.0.4) (2024-06-24)

### Bug Fixes

* **deps:** update dependency @elastic/eui to v95 ([#2462](#2462)) ([040c354](040c354))
* option to disable the isolated point styles on line and area charts ([#2472](#2472)) ([ae16815](ae16815))
* outside rect annotation placement and group relations ([#2471](#2471)) ([d46fb41](d46fb41))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:styling Styling related issue :theme :xy Bar/Line/Area chart related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant