Giter VIP home page Giter VIP logo

numandroidcharts's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

numandroidcharts's Issues

Select Color

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.)

set height and width of chart

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.

App is crshing

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

issue with multiple linechart in same fragment

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.

SemiCircle chart flips

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

Is it possible to create group bar chart in 2.2.4 version

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.

Waterfall chart data ploating issue

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.

How to set Label Width and Custom Color to FunelChart Sections

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!

Cannot create labels on Funnel chart

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.

java.lang.NullPointerException

(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

`

Labels in Funnel Chart

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.