Comments (1)
The DecoView will always render allowing space for the arc to take up 360 degrees. When I originally developed this I implemented an auto crop and fill feature that would do what you require, but it was pulled before the initial release.
The quickest way for you to get this functionality is to fork the DecoView project and hardcode the chart to render as you prefer. With the canvas area you can look at the DecoView::recalcLayout()
, which handles the positioning of the chart within the total canvas area. With the placing of the labels, you can do these as external TextViews or you can hack your placement requirements into the DecoView::onDraw()
function where CanvasView::drawLabel()
renders the text.
from android-decoview-charting.
Related Issues (20)
- Line width completely different for different screen sizes HOT 5
- Point and arrow at the edges of the series
- How to fixed one series and overlap two other serieses
- Large load on CPU HOT 2
- Series item with start angle
- how to add gradient to Series Item ? HOT 1
- TextView HOT 1
- Series label gets hidden HOT 4
- How to only use one of the charts
- In File SampleFragment4
- Decoview gets hide
- Label on point series
- Dyanamically changing the percentage value HOT 2
- Decoview with labels at fixed position
- Bug refreshing UI
- Change position of Label Text to end of progress of each SeriesItem
- How to draw line path on top of arc
- Is there any way to show big circle end of the progress
- Is there a way to add a gradient colour?
- Can I set click events? How to set up
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 android-decoview-charting.