简体   繁体   English

MPAndroidChart在LineChart上设置circleHoleSize

[英]MPAndroidChart setting the circleHoleSize on a LineChart

I am using MPAndroidChart . 我正在使用MPAndroidChart Is there any way to set the circleHoleSize on a linechart? 有什么办法可以在折线图上设置circleHoleSize吗? You can set the color of the hole using LineDataSet.setCircleColorHole() but I haven't been able to find how to change the size of the hole relative to the circleSize. 您可以使用LineDataSet.setCircleColorHole()设置孔的颜色,但我还无法找到如何相对于circleSize更改孔的大小。

It's currently not possible to set the hole size individually. 当前无法单独设置孔尺寸。 It always takes exactly 50% of the circles whole size that is set. 它始终恰好设置的整个圆的50%

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM