Skip to content

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

@alan-ford

Description

@alan-ford

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions