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

Data Labels are disabled but it's still showing data for pieChart.

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

The dataLabelsEnabled is false but it's still showing data for it. check out the screenshot ->
Screenshot_1675881809

RajatVashisht25 avatar Feb 08 '23 18:02 RajatVashisht25

Can you share your chart options code?

AAChartModel avatar Feb 09 '23 01:02 AAChartModel

val aaChartModel : AAChartModel = AAChartModel() .chartType(AAChartType.Pie) .backgroundColor("#FFFFFFFF") .dataLabelsEnabled(false) .legendEnabled(false) .animationDuration(2500) .series(arrayOf( AASeriesElement() .innerSize("85%") .data(arrayOf( 4, 10, 3, 7 )) )) pieChartView?.aa_drawChartWithChartModel(aaChartModel)

RajatVashisht25 avatar Feb 09 '23 09:02 RajatVashisht25

Can you please update me on this, I am stuck on this issue for a long.

RajatVashisht25 avatar Feb 13 '23 17:02 RajatVashisht25

AASeriesElement() .name("") .dataLabels( AADataLabels().enabled(false)) this worked for me

HasnainElexoft avatar Apr 07 '23 11:04 HasnainElexoft