Recent refactoring of line paths creation to fix various issues did not update the pathFromArea paths, upsetting animation morphing from those paths to final areaPaths.
1) Remove redundant graphics.move() from end of lower rangeArea paths.
2) Add closing line segment to pathFromArea path.
Fixes #4437
This has fixed the major issue but is still not perfect. There does appear to be an overall improvement visually over 3.45.2, the version preceeding the start of these refactoring efforts. If we compare, for example, the area-spline sample generated by 3.45.2 with that obtained after this patch, there is no longer a split between the line path and fill at every datapoint during the morphing process. There is instead a single artifact with the last datapoint that it would be nice to resolve.
Type of change
Please delete options that are not relevant.
[X] Bug fix (non-breaking change which fixes an issue)
Checklist:
[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] My changes generate no new warnings
[X] New and existing unit tests pass locally with my changes
Recent refactoring of line paths creation to fix various issues did not update the pathFromArea paths, upsetting animation morphing from those paths to final areaPaths.
1) Remove redundant graphics.move() from end of lower rangeArea paths. 2) Add closing line segment to pathFromArea path.
Fixes #4437
This has fixed the major issue but is still not perfect. There does appear to be an overall improvement visually over 3.45.2, the version preceeding the start of these refactoring efforts. If we compare, for example, the area-spline sample generated by 3.45.2 with that obtained after this patch, there is no longer a split between the line path and fill at every datapoint during the morphing process. There is instead a single artifact with the last datapoint that it would be nice to resolve.
Type of change
Please delete options that are not relevant.
Checklist: