eclipse / swtchart

Eclipse Public License 2.0
43 stars 41 forks source link

Line Series - Area Strict Option #387

Closed eselmeister closed 5 months ago

eselmeister commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

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