Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
RajatVashisht25 opened this issue Feb 8, 2023 · 4 comments

Comments

@RajatVashisht25
Copy link

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

@AAChartModel
Copy link
Owner

Can you share your chart options code?

@RajatVashisht25
Copy link
Author

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
Copy link
Author

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

@HasnainElexoft
Copy link

HasnainElexoft commented Apr 7, 2023

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants