jaikeerthick / composable-graphs Goto Github PK
View Code? Open in Web Editor NEW✨ A very Minimal, Sleek and Powerful Graph library for Android built with Kotlin & Jetpack Compose
License: Apache License 2.0
✨ A very Minimal, Sleek and Powerful Graph library for Android built with Kotlin & Jetpack Compose
License: Apache License 2.0
Hello, I'm interested in your open source!
I have some questions!
The current version of compose is 1.1.0, can you version up?
Or can I contribute to the update of the compose version?
This is a nice library, and I would like you to consider a few enhancements. I will create one by one.
The first one is to handle edge cases. Specifically, for line charts:
When there are many many points flooding in, x-axis labels are overwhelmed. It would be nice if it could be decoupled. For example, accepting a function to convert point data to labels, and accept a parameter to control the density of labels.
This might be a breaking API change.
I wish the density of grid lines could be configured as well.
Describe the bug
When your largest number in the line graph contains a decimal and is not a whole number, it goes above the graph.
To Reproduce
Steps to reproduce the behavior:
LineGraph
composableExample data to replicate issue:
listOf(
LineData(x = "Mon", y = 0),
LineData(x = "Tues", y = 0),
LineData(x = "Wed", y = 0),
LineData(x = "Thurs", y = 0),
LineData(x = "Fri", y = 2.59999999),
LineData(x = "Sat", y = 0),
LineData(x = "Sun", y = 0),
)
Expected behavior
To see points within graph
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
It would be nice if we could add multiple lines to the same LineGraph. It would be useful to comparing different data.
Would you support Compose Multiplatform?
I just have a quick look on the source code. It seems the core does not depend on Android-specific stuffs, so it might not be difficult. If you have no time, would you accept a PR?
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.