jsuyash1514 / graph-kit Goto Github PK
View Code? Open in Web Editor NEW:bar_chart: Android library for plotting and editing graphs :chart_with_upwards_trend:
License: MIT License
:bar_chart: Android library for plotting and editing graphs :chart_with_upwards_trend:
License: MIT License
Use this library to create a user friendly test app implementing all the features of version v1
The aim of this issue is to add horizontal bar graphs, where the Bars rest on the y axis, and the Values will be on the x axis.
When a Bar Graph is defined in XML and if there are no points defined in onCreate() (i.e. barGraph.setPoints(points); is not set), it causes the app to be crashed without any logcat information. Hence, there is no possibility to define a plot in a layout initially and add the points dynamically through the app in a later stage.
Hey Suyash,
If i try to change bar graph value second time then it's not updating, Initially it's creating graph and perfectly showing graph but when i try to update or change the value then it's not updating. For ex.
Initial Graph
BarGraph barGraph = findViewById(R.id.barGraph);
ArrayList<DataPoint> points = new ArrayList<>();
points.add(new DataPoint("Jan", 10, getResources().getColor(R.color.brown)));
points.add(new DataPoint("Feb", 5, getResources().getColor(R.color.brown)));
barGraph.setPoints(points);
While Updating Graph on click of button (which is not working)
BarGraph barGraph = findViewById(R.id.barGraph);
ArrayList<DataPoint> points = new ArrayList<>();
points.add(new DataPoint("Jan", 0, getResources().getColor(R.color.brown)));
points.add(new DataPoint("Feb", 3, getResources().getColor(R.color.brown)));
barGraph.setPoints(points);
Assign this issue to me so i can create pull request as i already fixed this issue
Create a readme explaining all the features of v-1
Currently Line Graph supports only the first quadrant. We need to plot all the quadrants.
Approach would be something like this:
I have added the dependency to the app but it always shows this error:
Execution failed for task ':app:checkDebugAarMetadata'.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.mdgiitr.suyash:graphkit:0.9.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/mdgiitr/suyash/graphkit/0.9.0/graphkit-0.9.0.pom
- https://repo.maven.apache.org/maven2/com/mdgiitr/suyash/graphkit/0.9.0/graphkit-0.9.0.pom
Required by:
project :app
Possible solution:
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.