RFR: 8276490: Incorrect path for duplicate x and y values, when path falls outside axis bound

Ajit Ghaisas aghaisas at openjdk.java.net
Wed Nov 17 10:11:41 UTC 2021


On Fri, 12 Nov 2021 09:44:47 GMT, Abhinay Agarwal <duke at openjdk.java.net> wrote:

> PathElements were skipped in AreaChart if the data point were outside axis bounds and had duplicate value for either x or y. This is now fixed with this PR.

modules/javafx.controls/src/test/java/test/javafx/scene/chart/AreaChartTest.java line 187:

> 185:     }
> 186: 
> 187:     @Test public void testPathOutsideXBoundsWithDuplicateXAndLowerY() {

I wonder whether we need another set of similar tests with X and Y interchanged?
Something like - testPathOutsideYBoundsWithDuplicateYAndLowerX

-------------

PR: https://git.openjdk.java.net/jfx/pull/667


More information about the openjfx-dev mailing list