XChart icon indicating copy to clipboard operation
XChart copied to clipboard

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

Open alan-ford opened this issue 6 months ago • 0 comments

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.

alan-ford avatar Aug 24 '24 03:08 alan-ford