AAChartCore-Kotlin icon indicating copy to clipboard operation
AAChartCore-Kotlin copied to clipboard

It is not clear how to set the size of the hole for the pie chart

Open Mozgus opened this issue 4 years ago β€’ 2 comments

It is not clear how to set the size of the hole for the pie chart so that it looks the same as in the picture in the documentation

Mozgus avatar Nov 29 '20 21:11 Mozgus

@Mozgus I was looking for the same actually, any findings?

pereriksson avatar Jun 29 '22 13:06 pereriksson

@Mozgus I found it, use the method innerSize of AASeriesElement:

AASeriesElement()
    .data(statistics)
    .dataLabels(
        AADataLabels()
            .enabled(false)
    )
    .innerSize("70%")
    .name("Utgifter")

pereriksson avatar Jun 29 '22 13:06 pereriksson