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

Change CachedDataPoints access modifier to public #613

Closed
TheBoegl opened this issue Sep 18, 2023 · 0 comments · Fixed by #615
Closed

Change CachedDataPoints access modifier to public #613

TheBoegl opened this issue Sep 18, 2023 · 0 comments · Fixed by #615

Comments

@TheBoegl
Copy link
Contributor

Describe the bug
Classes that extend the ErrorDataSetRenderer and override any of the draw*(GraphicsContext, CachedDataPoints): void methods must be placed in the same package (de.gsi.chart.renderer.spi or io.fair_acc.chartfx.renderer.spi) because CachedDataPoints has only package private class access and is exposed outside of its defined visibility scope.
If there are no objections, we should change the access modifier to public. This will make it easier to customize the error data set renderer and to avoid split packages.
Let me know if you are interested in a PR for this small change.

Environment:

  • ChartFx version: main/11.2.x
TheBoegl added a commit to TheBoegl/chart-fx that referenced this issue Sep 21, 2023
This commit changes the access modifier for the CachedDataPoints class to public and fixes fair-acc#613. It also makes it easier to customize the error data set renderer and avoids split packages.
wirew0rm pushed a commit that referenced this issue Sep 22, 2023
This commit changes the access modifier for the CachedDataPoints class to public and fixes #613. It also makes it easier to customize the error data set renderer and avoids split packages.
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

Successfully merging a pull request may close this issue.

1 participant