numetriclabz / numandroidcharts Goto Github PK
View Code? Open in Web Editor NEWA Powerful Android Charting Library by https://www.numetriclabz.com/
License: GNU General Public License v3.0
A Powerful Android Charting Library by https://www.numetriclabz.com/
License: GNU General Public License v3.0
How to add values in spline chart dynamically
Is there a way to choose the color of the Area Chart? If there isn't a way could you please add a method that lets you customize the charts? (colors etc.)
Labels are not shown when running Semi Circle Pie Chart example. Any way I could get them to work?
how to change size of chart. actually i am changing height and width in xml file, if i set (match parent) its working fine but i want to decrease size of chart so i am giving hard code height and width but its not working.
How to set the color in Step Line Chart
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.suryavanshi.piegraph/com.example.suryavanshi.piegraph.MainActivity}: android.view.InflateException: Binary XML file line #8: Error inflating class com.suryavanshi.graphlibrary.PieGraph
The problem comes because the columns list is null initially and it is being called in the view.
I think this issue could be solved by simply initialising rows, columns and data fields with 0 size arraylists.
i want to implement 3 line chart in same fragment, first of all i want to implement in scrollview but it is not set only 3rd linechart is shown then i implement 3 button and when perticular button is click then line chart is drawn but this is also not implement all 3 line cart is shown with clubing, in this library one function is missing which recreate graph with new data. can you help me with that.
Hi.
I need to display funnel graph.. But here i can able to see legendary list below of funnel graph.. how to disable that lists
Hello,
i have implemented SemiCircle chart in my project,
i have a view pager in that a list of data when i come back to same page chart flips? what could be the issue? the issue mainly comes when while m on the activity and call comes or i navigate to some other via notifications or recent activities and then come back on the same activity, Semicircle chart flips
Combined chart has only option to combine line chart with bar chart. I need to integrate LineChart with StackBarChart.
I am Using compile 'com.github.PhilJay:MPAndroidChart:v2.2.4'
ArrayList labels = new ArrayList();
ArrayList datasets = new ArrayList<>();
when i try to create
BarData data = new BarData(labels, datasets);
Constructor cannot be resolved is showing. What is the possible solution for the same. In Old version 2.1.6 this issue not coming.
Hello Friend,
I have searched method over the AreaStackChart.java file, but didn't found it.
I need to display the data labels, How can I do that ?
Also is any way to scroll chart horizontally to set more data ?
Thanks
Hi,
I am using WaterFallChart class to plot a chart. When I passed 2 or more consecutive negative values in data It starts plotting red color bar from top edge of previous red bar. If I pass alternate values(positive and negative) it plots properly.
Need your help to fix this issue.
Thanking you.
I want to set label width to each section of funnel chart and show fix custom color to each section. Now in getting different colors for each section every time when i run the app. i am using lib version
compile 'com.numetriclabz.numandroidcharts:numandroidcharts:1.0.20'
code:
funnelChart = (FunnelChart) findViewById(R.id.pyramid);
List values = new ArrayList<>();
values.add(new ChartData("visits", 400));
values.add(new ChartData("unique visits", 2000));
values.add(new ChartData("unique visitors", 1000));
values.add(new ChartData("unique session", 500));
values.add(new ChartData("log out", 3000));
values.add(new ChartData("log out1", 3000));
values.add(new ChartData("log out2", 100));
values.add(new ChartData("log out3", 1500));
values.add(new ChartData("log", 2500));
values.add(new ChartData("log o", 2000));
funnelChart.setData(values);
Thank you!
Hi, thanks for the lib - great work!
I am not able to see the labels for funnel chart:
values.add(new ChartData("visits", 3000));
values.add(new ChartData("unique visits", 2000));
values.add(new ChartData("unique visitors", 1000));
values.add(new ChartData("unique session", 500));
values.add(new ChartData("log out", 400));
I am using the above code to render it. Exactly like it is done in the tutorial. However as the other factors seem to work, the labels are not to be seen.
Please provide multi level pie chart example. need it
Thanks in advance
(Xamarin.Android) When I create layout in axml file it shows the following error.
`mono.android.DesignerException: java.lang.NullPointerException
at mono.android.DesignerException.fromThrowable(DesignerException.java:46)
at mono.android.DesignerSession.checkRenderResultForError(DesignerSession.java:187)
at mono.android.DesignerSession.renderInternal(DesignerSession.java:337)
at mono.android.SessionProjectCallback.computeInMonoDroidContextUnsafe(SessionProjectCallback.java:112)
at mono.android.DesignerSession.render(DesignerSession.java:329)
at mono.android.DesignerSession.processMessage(DesignerSession.java:712)
at mono.android.MessageListener.executeMessage(MessageListener.java:88)
at mono.android.MessageListener$Runner.run(MessageListener.java:44)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at android.graphics.Canvas.drawOval(Canvas.java:1142)
at com.numetriclabz.numandroidcharts.PieChartL.onDraw(PieChartL.java:106)
at android.view.View.draw(View.java:17071)
at android.view.View.draw(View.java:16979)
at android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)
at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)
at android.view.ViewGroup.drawChild(ViewGroup.java:3764)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)
at android.view.View.draw(View.java:16977)
at android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)
at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)
at android.view.ViewGroup.drawChild(ViewGroup.java:3764)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)
at android.view.View.draw(View.java:16977)
at android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)
at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)
at android.view.ViewGroup.drawChild(ViewGroup.java:3764)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)
at android.view.View.draw(View.java:16977)
at android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)
at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)
at android.view.ViewGroup.drawChild(ViewGroup.java:3764)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)
at android.view.View.draw(View.java:17074)
at com.android.layoutlib.bridge.impl.RenderSessionImpl.renderAndBuildResult(RenderSessionImpl.java:401)
at com.android.layoutlib.bridge.impl.RenderSessionImpl.renderAndBuildResult(RenderSessionImpl.java:548)
at com.android.layoutlib.bridge.impl.RenderSessionImpl.render(RenderSessionImpl.java:422)
at com.android.layoutlib.bridge.BridgeRenderSession.render(BridgeRenderSession.java:104)
at com.android.ide.common.rendering.api.RenderSession.render(RenderSession.java:154)
at com.android.ide.common.rendering.api.RenderSession.render(RenderSession.java:136)
at mono.android.DesignerSession.renderInternal(DesignerSession.java:336)
... 6 more
`
Hi,
Thanks for good chart support, could you please tell me how to set the labels for each funnel item.
I gone through you previous issues but still i am not getting it with you latest api.
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.