Integrated: 8283675: Line not removed from LineChart when series cleared

Karthik P K kpk at openjdk.org
Mon Sep 4 04:45:49 UTC 2023


On Fri, 18 Aug 2023 07:25:28 GMT, Karthik P K <kpk at openjdk.org> wrote:

> The issue is present in AreaChart along with the LineChart. Issue is fixed in both the charts as part of this PR.
> The line elements in case of Line chart and both line element and fill element in the case of Area charts were not cleared in `makePaths()` method in AreaChart.java. Hence the line and fill area were not getting cleared when series was cleared.
> 
> Made changes in code to clear line element and fill element as required in the `makePaths()` method.
> 
> Added tests to validate the changes in both LineChart and AreaChart.

This pull request has now been integrated.

Changeset: e8491ba4
Author:    Karthik P K <kpk at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/e8491ba47c2926547ee484e7fda767132aff2edd
Stats:     46 lines in 3 files changed: 39 ins; 6 del; 1 mod

8283675: Line not removed from LineChart when series cleared

Reviewed-by: angorya, aghaisas

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

PR: https://git.openjdk.org/jfx/pull/1214


More information about the openjfx-dev mailing list