Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Real Time graph issue #25

Closed
abh22ishek opened this issue Jun 16, 2016 · 15 comments
Closed

Real Time graph issue #25

abh22ishek opened this issue Jun 16, 2016 · 15 comments

Comments

@abh22ishek
Copy link

Hey joe, i am trying to create real time graph . The data on graph will come from bluetooth , it's a massive amount of data and very fast rate lets say 1sec =60 samples of data

problem is when i used appendata to add the data and fixed max data points to 400 ,it crashes after some time . i debug it , it causes memory leakage

final String[] arr = str.replace("[", "").replace("]", "").split(",");

for (int i = 0; i < arr.length; i++) {
mSeries.appendData(new DataPoint(graph2LastXValue, Double.parseDouble(arr[i])),true,380);
//DataPoint v = new DataPoint(graph2LastXValue,Double.parseDouble(arr[i]));
// myArr[i]=v;
// mSeries2.appendData(myArr[i], true, 380);
graph2LastXValue++;

}

@jjoe64
Copy link
Owner

jjoe64 commented Jun 16, 2016

i will test it

@jjoe64
Copy link
Owner

jjoe64 commented Jun 16, 2016

created issue at graphview project

@jjoe64 jjoe64 closed this as completed Jun 16, 2016
@abh22ishek
Copy link
Author

did you tested it joe?

@jjoe64
Copy link
Owner

jjoe64 commented Jun 24, 2016

Yes, so I changed the realtime example to produce lot of more data and
faster and I run it 5 minutes without any impacts


von unterwegs gesendet
Am 24.06.2016 11:57 schrieb "abh22ishek" notifications@github.com:

did you tested it joe?


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#25 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AA0ZC3BaY4xUuEa1NJ87d2w4X5i-kHcCks5qO6oKgaJpZM4I3JOq
.

@abh22ishek
Copy link
Author

is it updated on our blog or any new version of graphview library you are
going to introduce

regards,
Abhishek

On Fri, Jun 24, 2016 at 3:30 PM, Jonas Gehring notifications@github.com
wrote:

Yes, so I changed the realtime example to produce lot of more data and
faster and I run it 5 minutes without any impacts


von unterwegs gesendet
Am 24.06.2016 11:57 schrieb "abh22ishek" notifications@github.com:

did you tested it joe?


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<
#25 (comment)
,
or mute the thread
<
https://github.com/notifications/unsubscribe/AA0ZC3BaY4xUuEa1NJ87d2w4X5i-kHcCks5qO6oKgaJpZM4I3JOq

.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#25 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AFTVm9lVZHJZvmeW64-PW15YR9Yncoarks5qO6qhgaJpZM4I3JOq
.

@abh22ishek
Copy link
Author

if you want you can check here ,whole issue explained properly

http://stackoverflow.com/questions/37834259/real-time-graph-is-inconsistent-in-graphview-library-android

regards,
Abhsiehk

On Fri, Jun 24, 2016 at 3:33 PM, abhishek raj abh22ishek@gmail.com wrote:

is it updated on our blog or any new version of graphview library you are
going to introduce

regards,
Abhishek

On Fri, Jun 24, 2016 at 3:30 PM, Jonas Gehring notifications@github.com
wrote:

Yes, so I changed the realtime example to produce lot of more data and
faster and I run it 5 minutes without any impacts


von unterwegs gesendet
Am 24.06.2016 11:57 schrieb "abh22ishek" notifications@github.com:

did you tested it joe?


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<
#25 (comment)
,
or mute the thread
<
https://github.com/notifications/unsubscribe/AA0ZC3BaY4xUuEa1NJ87d2w4X5i-kHcCks5qO6oKgaJpZM4I3JOq

.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#25 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AFTVm9lVZHJZvmeW64-PW15YR9Yncoarks5qO6qhgaJpZM4I3JOq
.

@jjoe64
Copy link
Owner

jjoe64 commented Jun 24, 2016

In a few days version 4.1 will be available at maven central


von unterwegs gesendet
Am 24.06.2016 12:03 schrieb "abh22ishek" notifications@github.com:

is it updated on our blog or any new version of graphview library you are
going to introduce

regards,
Abhishek

On Fri, Jun 24, 2016 at 3:30 PM, Jonas Gehring notifications@github.com
wrote:

Yes, so I changed the realtime example to produce lot of more data and
faster and I run it 5 minutes without any impacts


von unterwegs gesendet
Am 24.06.2016 11:57 schrieb "abh22ishek" notifications@github.com:

did you tested it joe?


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<

#25 (comment)

,
or mute the thread
<

https://github.com/notifications/unsubscribe/AA0ZC3BaY4xUuEa1NJ87d2w4X5i-kHcCks5qO6oKgaJpZM4I3JOq

.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
#25 (comment)
,
or mute the thread
<
https://github.com/notifications/unsubscribe/AFTVm9lVZHJZvmeW64-PW15YR9Yncoarks5qO6qhgaJpZM4I3JOq

.


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#25 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AA0ZC9gCVh0JUTBZMm4_FwNxD1fvjX-6ks5qO6tngaJpZM4I3JOq
.

@abh22ishek
Copy link
Author

if you can share the code that will be useful , my application needs to be
launched within 3 working days

regards,
Abhishek

On Fri, Jun 24, 2016 at 3:49 PM, Jonas Gehring notifications@github.com
wrote:

In a few days version 4.1 will be available at maven central


von unterwegs gesendet
Am 24.06.2016 12:03 schrieb "abh22ishek" notifications@github.com:

is it updated on our blog or any new version of graphview library you are
going to introduce

regards,
Abhishek

On Fri, Jun 24, 2016 at 3:30 PM, Jonas Gehring <notifications@github.com

wrote:

Yes, so I changed the realtime example to produce lot of more data and
faster and I run it 5 minutes without any impacts


von unterwegs gesendet
Am 24.06.2016 11:57 schrieb "abh22ishek" notifications@github.com:

did you tested it joe?


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<

#25 (comment)

,
or mute the thread
<

https://github.com/notifications/unsubscribe/AA0ZC3BaY4xUuEa1NJ87d2w4X5i-kHcCks5qO6oKgaJpZM4I3JOq

.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<

#25 (comment)

,
or mute the thread
<

https://github.com/notifications/unsubscribe/AFTVm9lVZHJZvmeW64-PW15YR9Yncoarks5qO6qhgaJpZM4I3JOq

.


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<
#25 (comment)
,
or mute the thread
<
https://github.com/notifications/unsubscribe/AA0ZC9gCVh0JUTBZMm4_FwNxD1fvjX-6ks5qO6tngaJpZM4I3JOq

.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#25 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AFTVm-OptQy7JoyGi10oEhWN26nukN47ks5qO68ugaJpZM4I3JOq
.

@jjoe64
Copy link
Owner

jjoe64 commented Jun 24, 2016

its already uploaded and i can not control when it is published
but you can just use the git repo.
http://www.android-graphview.org/documentation/how-to-link-the-project-in-android-studio

2016-06-24 12:49 GMT+02:00 abh22ishek notifications@github.com:

if you can share the code that will be useful , my application needs to be
launched within 3 working days

regards,
Abhishek

On Fri, Jun 24, 2016 at 3:49 PM, Jonas Gehring notifications@github.com

wrote:

In a few days version 4.1 will be available at maven central


von unterwegs gesendet
Am 24.06.2016 12:03 schrieb "abh22ishek" notifications@github.com:

is it updated on our blog or any new version of graphview library you
are
going to introduce

regards,
Abhishek

On Fri, Jun 24, 2016 at 3:30 PM, Jonas Gehring <
notifications@github.com

wrote:

Yes, so I changed the realtime example to produce lot of more data
and
faster and I run it 5 minutes without any impacts


von unterwegs gesendet
Am 24.06.2016 11:57 schrieb "abh22ishek" notifications@github.com:

did you tested it joe?


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<

#25 (comment)

,
or mute the thread
<

https://github.com/notifications/unsubscribe/AA0ZC3BaY4xUuEa1NJ87d2w4X5i-kHcCks5qO6oKgaJpZM4I3JOq

.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<

#25 (comment)

,
or mute the thread
<

https://github.com/notifications/unsubscribe/AFTVm9lVZHJZvmeW64-PW15YR9Yncoarks5qO6qhgaJpZM4I3JOq

.


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<

#25 (comment)

,
or mute the thread
<

https://github.com/notifications/unsubscribe/AA0ZC9gCVh0JUTBZMm4_FwNxD1fvjX-6ks5qO6tngaJpZM4I3JOq

.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
#25 (comment)
,
or mute the thread
<
https://github.com/notifications/unsubscribe/AFTVm-OptQy7JoyGi10oEhWN26nukN47ks5qO68ugaJpZM4I3JOq

.


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#25 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AA0ZC4796ymugs5v4Qcut3HMna8Qp1Cvks5qO7ZEgaJpZM4I3JOq
.

@abh22ishek
Copy link
Author

thanks

regards,
Abhishek

On Fri, Jun 24, 2016 at 4:21 PM, Jonas Gehring notifications@github.com
wrote:

its already uploaded and i can not control when it is published
but you can just use the git repo.

http://www.android-graphview.org/documentation/how-to-link-the-project-in-android-studio

2016-06-24 12:49 GMT+02:00 abh22ishek notifications@github.com:

if you can share the code that will be useful , my application needs to
be
launched within 3 working days

regards,
Abhishek

On Fri, Jun 24, 2016 at 3:49 PM, Jonas Gehring <notifications@github.com

wrote:

In a few days version 4.1 will be available at maven central


von unterwegs gesendet
Am 24.06.2016 12:03 schrieb "abh22ishek" notifications@github.com:

is it updated on our blog or any new version of graphview library you
are
going to introduce

regards,
Abhishek

On Fri, Jun 24, 2016 at 3:30 PM, Jonas Gehring <
notifications@github.com

wrote:

Yes, so I changed the realtime example to produce lot of more data
and
faster and I run it 5 minutes without any impacts


von unterwegs gesendet
Am 24.06.2016 11:57 schrieb "abh22ishek" <notifications@github.com
:

did you tested it joe?


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<

#25 (comment)

,
or mute the thread
<

https://github.com/notifications/unsubscribe/AA0ZC3BaY4xUuEa1NJ87d2w4X5i-kHcCks5qO6oKgaJpZM4I3JOq

.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<

#25 (comment)

,
or mute the thread
<

https://github.com/notifications/unsubscribe/AFTVm9lVZHJZvmeW64-PW15YR9Yncoarks5qO6qhgaJpZM4I3JOq

.


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<

#25 (comment)

,
or mute the thread
<

https://github.com/notifications/unsubscribe/AA0ZC9gCVh0JUTBZMm4_FwNxD1fvjX-6ks5qO6tngaJpZM4I3JOq

.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<

#25 (comment)

,
or mute the thread
<

https://github.com/notifications/unsubscribe/AFTVm-OptQy7JoyGi10oEhWN26nukN47ks5qO68ugaJpZM4I3JOq

.


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<
#25 (comment)
,
or mute the thread
<
https://github.com/notifications/unsubscribe/AA0ZC4796ymugs5v4Qcut3HMna8Qp1Cvks5qO7ZEgaJpZM4I3JOq

.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#25 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AFTVm2wyb3pKDDNbMejtBSCBxYj0T1Z6ks5qO7a9gaJpZM4I3JOq
.

@abh22ishek
Copy link
Author

It Will be worth asking,may i know what is the causee of laginess of real
time graph with huge data?
Was it a memory leak or some other issue
On Jun 24, 2016 4:26 PM, "abhishek raj" abh22ishek@gmail.com wrote:

thanks

regards,
Abhishek

On Fri, Jun 24, 2016 at 4:21 PM, Jonas Gehring notifications@github.com
wrote:

its already uploaded and i can not control when it is published
but you can just use the git repo.

http://www.android-graphview.org/documentation/how-to-link-the-project-in-android-studio

2016-06-24 12:49 GMT+02:00 abh22ishek notifications@github.com:

if you can share the code that will be useful , my application needs to
be
launched within 3 working days

regards,
Abhishek

On Fri, Jun 24, 2016 at 3:49 PM, Jonas Gehring <
notifications@github.com>

wrote:

In a few days version 4.1 will be available at maven central


von unterwegs gesendet
Am 24.06.2016 12:03 schrieb "abh22ishek" notifications@github.com:

is it updated on our blog or any new version of graphview library
you
are
going to introduce

regards,
Abhishek

On Fri, Jun 24, 2016 at 3:30 PM, Jonas Gehring <
notifications@github.com

wrote:

Yes, so I changed the realtime example to produce lot of more data
and
faster and I run it 5 minutes without any impacts


von unterwegs gesendet
Am 24.06.2016 11:57 schrieb "abh22ishek" <
notifications@github.com>:

did you tested it joe?


You are receiving this because you modified the open/close
state.
Reply to this email directly, view it on GitHub
<

#25 (comment)

,
or mute the thread
<

https://github.com/notifications/unsubscribe/AA0ZC3BaY4xUuEa1NJ87d2w4X5i-kHcCks5qO6oKgaJpZM4I3JOq

.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<

#25 (comment)

,
or mute the thread
<

https://github.com/notifications/unsubscribe/AFTVm9lVZHJZvmeW64-PW15YR9Yncoarks5qO6qhgaJpZM4I3JOq

.


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<

#25 (comment)

,
or mute the thread
<

https://github.com/notifications/unsubscribe/AA0ZC9gCVh0JUTBZMm4_FwNxD1fvjX-6ks5qO6tngaJpZM4I3JOq

.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<

#25 (comment)

,
or mute the thread
<

https://github.com/notifications/unsubscribe/AFTVm-OptQy7JoyGi10oEhWN26nukN47ks5qO68ugaJpZM4I3JOq

.


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<
#25 (comment)
,
or mute the thread
<
https://github.com/notifications/unsubscribe/AA0ZC4796ymugs5v4Qcut3HMna8Qp1Cvks5qO7ZEgaJpZM4I3JOq

.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#25 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AFTVm2wyb3pKDDNbMejtBSCBxYj0T1Z6ks5qO7a9gaJpZM4I3JOq
.

@jjoe64
Copy link
Owner

jjoe64 commented Jun 28, 2016

in fast there were 2 points different points:

  1. for Line Series the drawing of the path was done completely each data point instead of only one time
  2. for the Point Series there was a memory leak. There is a map that stores the coordinates so that the user can click on a data point. This map was not cleared correctly.

@jjoe64
Copy link
Owner

jjoe64 commented Jun 28, 2016

both points were fixed by community! Thanks! open source rocks ;)

@abh22ishek
Copy link
Author

thanks for info.

regards,
Abhsihek

On Wed, Jun 29, 2016 at 1:53 AM, Jonas Gehring notifications@github.com
wrote:

both points were fixed by community! Thanks! open source rocks ;)


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#25 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AFTVmyfTkAP2pyi2gcNPrkGrhpSENCdIks5qQYLYgaJpZM4I3JOq
.

@abh22ishek
Copy link
Author

Hi joe , eer since graphview library is udated to 4.1.0 from 4.0.1

Now there is a bug in plotting line graph.

whenver i set

graphview_pr.getViewport().setMinX(0);

graphview_pr.getViewport().setMaxX(100);

and

graphview_pr.getGridLabelRenderer().setNumHorizontalLabels(8);

it only plots 8 horizontal labels and it ignores max value of horizontal labels

earlier it was not there.

It was perfectly coming on 4.0.1

regards,

Abhishek

On Wed, Jun 29, 2016 at 10:30 AM, abhishek raj abh22ishek@gmail.com wrote:

thanks for info.

regards,
Abhsihek

On Wed, Jun 29, 2016 at 1:53 AM, Jonas Gehring notifications@github.com
wrote:

both points were fixed by community! Thanks! open source rocks ;)


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#25 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AFTVmyfTkAP2pyi2gcNPrkGrhpSENCdIks5qQYLYgaJpZM4I3JOq
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants