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

Line Series - Area Strict Option #387

Closed
eselmeister opened this issue Feb 4, 2024 · 3 comments
Closed

Line Series - Area Strict Option #387

eselmeister opened this issue Feb 4, 2024 · 3 comments

Comments

@eselmeister
Copy link
Contributor

Currently, if enableArea is set to true, the area is drawn to its maximum extend on the Y axis. Add a strict option to only display the area constrained by its left and right minimum.

@eselmeister
Copy link
Contributor Author

That's the default behavior:

Screenshot from 2024-02-04 18-04-20

The area strict option is marked as experimental and by default set to false.

@eselmeister
Copy link
Contributor Author

If set to true, the area is constrained by the left and right minimum.
lineSeriesSettings.setAreaStrict(true);

Screenshot from 2024-02-04 18-04-26

eselmeister added a commit that referenced this issue Feb 5, 2024
The area is displayed correctly now even if zoomed in.
@eselmeister
Copy link
Contributor Author

Screenshot from 2024-02-05 17-08-49
Screenshot from 2024-02-05 17-08-55
Screenshot from 2024-02-05 17-09-11
Screenshot from 2024-02-05 17-09-24
Screenshot from 2024-02-05 17-09-35

eselmeister added a commit that referenced this issue Feb 6, 2024
From the last point array, the second pair x|y must be selected.
@eselmeister eselmeister changed the title Line Series - Area Strict Option (Experimental) Line Series - Area Strict Option Feb 7, 2024
eselmeister added a commit that referenced this issue Feb 7, 2024
Finally, the solution works fine. The experimental status has been
removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant