futuredapp / donut Goto Github PK
View Code? Open in Web Editor NEWDoughnut-like graph view capable of displaying multiple datasets with assignable colors
License: MIT License
Doughnut-like graph view capable of displaying multiple datasets with assignable colors
License: MIT License
Is it possible to add gradients to each line? e.g. first section should start with a color and end with another color, and section 2 takes a set of other colors, etc.
Would be pretty awesome if we can set the number of segments of the bar.
https://hiinteractive.outsystemscloud.com/HiComponentsGifs/img/HiComponentsGifs.HiArcGraph.gif
Documentation, basic usage, GIFs
I am currently using v2.2.2 of this library and there is no click listener to detect which dataset was clicked. do I have to use a new version or what?
It shows
Unsupported method: AndroidArtifact.getBuildConfigFields().
The version of Gradle you connect to does not support that method.
To resolve the problem you can change/upgrade the target version of Gradle you connect to.
Alternatively, you can ignore this exception and read other information from the model.
We are missing clear
method, also need to think about submitEntries()
Hello! I'm a newbie when it comes to Android Studio and how it fully works, sorry if this is my fault! Any feedback or help would be appreciated if so.
When trying to install the dependency like explained on the README, I get around 7 failures. What I did was add the "Implementation" line inside the "dependencies" area (build.grade (Module)) and do a simple build to test if things would run without problems. I only added that line, nothing more.
FAILURE: Build completed with 7 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find app.futured.donut:donut:unspecified.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/app/futured/donut/donut/unspecified/donut-unspecified.pom
- https://repo.maven.apache.org/maven2/app/futured/donut/donut/unspecified/donut-unspecified.pom
Required by:
project :app
For simplification purposes, I'll only post this one failure since the others are very similar to this one.
Thank you for the time.
The Google Services Plugin cannot function without it.
Please update the file to the project.
Is there a way where I can have a half donut graph? Or can I set offset for the bottom?
How can i get DonutSection chart click and understand? I have different DonutSection area and i need to get position which DonutSection
Since the JCenter repository is closing soon, it would be great to migrate the library to the Maven Central repository
Implement addAmount(datasetName: String, amount: Float)
and removeAmount(datasetName: String, amount: Float)
methods
implementation 'app.futured.donut:library:2.1.0'
I don’t know why this bug appears in the project
The progress lines are now always rounded at the end. Would be nice to add support for different progress line endings. E. g. straight or triangulated to make it more customizable.
First off all, thank you for this fantastic library and all the time and effort that you have put into it!
I've been looking into the possibility of adding optional drawables to each section, and specifically I've been trying for a while now to figure out a good way to find the midpoint coordinates of each painted section for the placement of the drawables but have been unable to find a reliable way to do so.
You wouldn't happen to have any pointers on how best to go about doing so?
Hi,
I am facing an issue and after hours of playground testing I can't tell if I am missing something or if the behaviour between the compose and non-compose version is indeed different. I can't tell if this is a bug or not.
Please refer to the following gist:
https://gist.github.com/Stjin/807c430a25adebef76fae8a039cbc2b5
I have created an application with 2 activities
I implemented both the compose as well as the non-compose version of the donut library and recreated 2 identical setups.
However the end results is differently rendered.
It looks like the compose version reverses the colors?
Hope you can help me out ☺
Allow developer to choose if animations should be applied, if yes, then allow him to provide custom interpolator and animation duration
Can I implement this in my JAVA based app?
Allow to change dataset color at runtime, related to #5
The first section always occupies more, another section of similar amount. Can I change that somehow? Thank you earlier.
DonutDataset
- currently represents one item in graph - not ideal to call this ...set
DonutData
- currently contains list of DonutDatasets
and graph parameters - not ideal call this data
because it's both raw data and configuration / parametersDonutConfig
- seems okprovide support for rotating the gauge progress either clockwise or anticlockwise
I want to use this library, but my app has minSdkVersion 19. I force it using below code. What's the thing will be broken? or are there an alternative way to use this library in app that has minSdkVersion 19?
<uses-sdk android:minSdkVersion="19" tools:overrideLibrary="app.futured.donut" />
Latest section color is on top of other sections but it can be false yo show in UI sometimes value of last section can be half of the section before the last one but color length almost equal to each other
my app use androidx.compose version 1.0.4 it can not use donut library because donut library require androidx.ui
please update change androidx.ui to androidx.compose
Thanks for this amazing library.
After the library migrates to mavenCentral, we might need to create some sort of publishing guide, as the library properties are needed to be changed in gradle.properties
file before each release.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.