PhilJay / MPAndroidChart

A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.
Other
37.54k stars 9.01k forks source link

Support single Entry for LineChart #80

Closed 120660021 closed 10 years ago

120660021 commented 10 years ago

Hello, I was in China android developer, your library is especially strong, very much, which encountered some problems, hope to get your help。 I used LineChart time, I modified your demo in LineChartActivity classes, 117 lines setData (45, 100); modified setData (1, 100) ;, is only one data, line graph interface is empty, there is no way to make him appear , My mail is 120660021@qq.com,I hope to hear from you,Thank you!

PhilJay commented 10 years ago

Thank you for mentioning this. I am aware of the issue and wil fix this as soon as I get the time.

Regards, Phil

120660021 commented 10 years ago

I hope you solve this problem as soon as possible, I will always be concerned about your MPAndroidChart。

120660021 commented 10 years ago

Hello PhilJay, this bug when it will modify the good, Concern

PhilJay commented 10 years ago

Now working.

Regards, Phil

120660021 commented 9 years ago

thanks

ITDeveloper123 commented 6 years ago

Hello, I am an Indian developer. Recently tried out this library. It is wonderful but I am facing an issue. Could you please help. I have a xaxis with custom labels and putting entries into it using Xvalues are = [17th March, 18th March, 19th March,20th March,21st March,22nd March,23rd March];

but it is displaying only 23rd march across xaxis and with 55.0f value if I am giving only one entry as

ArrayList yVals = new ArrayList(); yVals.add(new Entry(5.0f, 55.0f));

I searched a lot. But couldn't be able to solve it. If I am giving

yVals.add(new Entry(1.0f, 10.0f)); yVals.add(new Entry(5.0f, 55.0f));

it is working fine displaying all labels.