MPAndroidChart(PieChart)无法显示具有圆角的扇区的突出显示。

huangapple 未分类评论48阅读模式
英文:

MPAndroidChart (PieChart) not showing highlighted Slice for Rounded corners

问题

这是我翻译好的部分:

我正在尝试创建一个类似下面的图表,用于我的 Android 应用程序,使用 MPAndroidChart(PieChart)。我无法弄清楚如何使饼图的边缘变成圆角。然后我看到了 pieChart.setDrawRoundedSlices(true) 这行代码,它帮助我实现了下面的设计。但是,在添加了这行代码后,饼图没有显示出突出显示的片段。

GIT Hub 问题票: https://github.com/PhilJay/MPAndroidChart/issues/4804

期望的设计,带有突出显示的片段。

MPAndroidChart(PieChart)无法显示具有圆角的扇区的突出显示。

当前开发的,无法获得突出显示的片段。

MPAndroidChart(PieChart)无法显示具有圆角的扇区的突出显示。

虚拟项目,带有突出显示的片段,但边缘没有圆角。

MPAndroidChart(PieChart)无法显示具有圆角的扇区的突出显示。

英文:

I am trying to create a chart like below, For my android application using MPAndroidChart(PieChart). I was unable to figure out, how to make the Piechart's edges as round edged. then I saw pieChart.setDrawRoundedSlices(true) this line of code helped me in achieving below design. now after adding this line PieChart is not showing highlighted Slice.

GIT Hub Issue Ticket : https://github.com/PhilJay/MPAndroidChart/issues/4804

Desired Design with highlighted slice.

MPAndroidChart(PieChart)无法显示具有圆角的扇区的突出显示。

Currently Developed unable to get highlighted Slice.

MPAndroidChart(PieChart)无法显示具有圆角的扇区的突出显示。

Dummy Project with highlighted Slice without curved edges.

MPAndroidChart(PieChart)无法显示具有圆角的扇区的突出显示。

huangapple
  • 本文由 发表于 2020年4月10日 13:38:20
  • 转载请务必保留本文链接:https://java.coder-hub.com/61134599.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定