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

Class "org.knowm.xchart.style.PieStyler.AnnotationType" missing #881

Open
alan-ford opened this issue Aug 24, 2024 · 0 comments
Open

Class "org.knowm.xchart.style.PieStyler.AnnotationType" missing #881

alan-ford opened this issue Aug 24, 2024 · 0 comments

Comments

@alan-ford
Copy link

alan-ford commented Aug 24, 2024

Description:
I created a pie chart that requires these instructions

chart.getStyler().setAnnotationType(AnnotationType.LabelAndPercentage);
chart.getStyler().setAnnotationDistance(1.3);

but since version 3.8.1 of the library, the module indicated in the title has been removed. This prevents the code from compiling because Java cannot find instructions AnnotationType and setAnnotationDistance.

To Reproduce
Install any version starting with 3.8.1 and put in the lines of code mentioned in the description.

Expected behavior
I would like to know if there is any alternative code that can solve the problem.

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

No branches or pull requests

1 participant