Comments (6)
这个目前好像没有提供点击后的宽度哦~
感谢提议,下一版我会加上去的~
from animatedpieview.
这个目前好像没有提供点击后的宽度哦~
感谢提议,下一版我会加上去的~
那环形本身有个外边距是在哪设置的,我可以改框架中的代码调节一下吗
from animatedpieview.
本身其实没有外边距的,是autoSize控制是否自动计算大小以完整显示文字,你设置false即可
测量相关:
from animatedpieview.
@razerdp 当这种情况的时候,第一块部分点击判断有问题
1、-90 250
2、250 262
3、262 270
大约180到270点击不会放大
from animatedpieview.
@razerdp
if (tEnd == tStart){
result = true;
}else {
if (tEnd < tStart) {
if (tAngle > 180) {
//已经过界
result = tAngle >= tStart && (360 - tAngle) <= sweepAngle; //这一行判断为false了
} else {
result = tAngle + 360 >= tStart && tAngle <= tEnd;
}
} else {
result = tAngle >= tStart && tAngle <= tEnd;
}
}
from animatedpieview.
@HuangJAndroid 我端午假期迭代一下
from animatedpieview.
Related Issues (20)
- 缺了一块 HOT 10
- Kotlin HOT 1
- 甜甜圈的中间能否设置文字,显示在甜甜圈中间? HOT 1
- AnimatedPieView not rendering properly HOT 8
- How to set Text inside slice pie? HOT 4
- text is overwrite when there's lower value near by HOT 3
- 1.2.5版本,动画显示有问题 HOT 1
- Any way to change desc font family / typeface? HOT 2
- Select PieInfo by tap on its label or icon HOT 13
- Use List with gernerate for every element a PieI nfo HOT 1
- 如果没有数据的话能设置显示一个默认的图表吗? HOT 4
- Shrink pie when change text size? HOT 3
- New Version HOT 2
- how show text in multiline? HOT 4
- click enlarge. Can I set the enlarged thickness? HOT 1
- Color in ring isn't the same than color in label HOT 3
- 可否传入背景图而非色值 HOT 1
- 线的长度固定,不根据内容变化怎么操作? HOT 1
- Is it possible to select the pie chart when the legend is clicked?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from animatedpieview.