XChart
XChart copied to clipboard
Class "org.knowm.xchart.style.PieStyler.AnnotationType" missing
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.