Darwinbots Forum

Code center => Bugs and fixes => Bug reports => Topic started by: Nightrider on June 14, 2013, 06:16:25 AM

Title: Graphs not working
Post by: Nightrider on June 14, 2013, 06:16:25 AM
Hello everybody, i have a problem with the last (2.45.03) DB. Graphs don't work as intended, they update only when they're open. Can u fix this? It's very annoying... thank you guys!
Title: Re: Graphs not working
Post by: Testlund on June 14, 2013, 08:34:19 AM
Once a graph has been opened it should continue to plot data even after it has been closed. It must be a temporary glitch in your case if it doesn't.

So when I start a new sim I immediately open the graphs I'm interested in to get data on that.
Title: Re: Graphs not working
Post by: Nightrider on June 14, 2013, 09:16:56 AM
I know, it did so in the last version. Now they don't work anymore as you say.
Title: Re: Graphs not working
Post by: Nightrider on June 14, 2013, 09:21:39 AM
I tried to close the program and reopen it, they're still not working  :(
Title: Re: Graphs not working
Post by: Testlund on June 14, 2013, 09:36:10 AM
I'm sorry, you're right. Weird. I was sure it worked as before but now when I checked again with a new sim it doesn't.  :blink:
Title: Re: Graphs not working
Post by: Nightrider on June 14, 2013, 09:47:03 AM
thanks for checking, graphs are very important to me btw pls can somebody fix this? or else i'll just go back to my older version  ;)
Title: Re: Graphs not working
Post by: Botsareus on June 14, 2013, 10:51:23 AM
looking at this now.
Title: Re: Graphs not working
Post by: Botsareus on June 14, 2013, 12:40:38 PM
FYI Testlund: Open graphs are now saved as part of simulation, so you will only need to configure them once.



I was going to argue the pros and cons of not updating the graphs when they where closed. I was also going to explain a manual work around you guys can do, but then it hit me: Why can't I do this automatically? All you need to do is respond to a prompt.

Here, tell me if this works any better:
Title: Re: Graphs not working
Post by: Nightrider on June 14, 2013, 01:44:19 PM
thanks a lot, i'm glad i've helped you guys at fixing this. you're doing a great job!!!  :wub:
Title: Re: Graphs not working
Post by: Nightrider on June 14, 2013, 01:49:06 PM
thanks a lot, now it's working! btw i intended to say FINDING this in the last post, not fixing  :D
Title: Re: Graphs not working
Post by: Tilthanseco on June 17, 2013, 07:20:00 PM
Thanks Botsareus.

Along the same line, can you make charts minimizable again?

Thank you.
Title: Re: Graphs not working
Post by: Botsareus on June 20, 2013, 06:53:59 PM
I can, but I don't want the charts to be in the windows task bar. I don't think it make seance to put charts in the windows taskbar because: Lets say you have 10 open, and then you want to work on something else while DB is running, also, let say we are running like 5 copys of DB because we have the hardware to do so, now the windows taskbar becomes un-usable

When you select 'Continue updating data' it does the same thing as 'minimize', it just hides the graph in the button left corner :p

Then to get it back simply click the graph again of the graph menu.



So your options are:

1.) Add minimize but don't show in windows taskbar

2.) Leave as is

3.) Reprogram the graphs to be shown in taskbar as before.

The other reason I really hate choice three is because then I will have no way to figure out if DB should update the graph or not.  I REALLY WANT some way to tell DB to stop updating a graph if you would choose to do so, I currently linked the update code to the fact that the window is open which is the simplest way to do it.
Title: Re: Graphs not working
Post by: Testlund on June 21, 2013, 04:58:19 AM
It's fine as it is imo.

Happy midsummer!  :)

(We celebrate midsummer eve in Sweden today.)
Title: Re: Graphs not working
Post by: Botsareus on June 22, 2013, 10:16:52 AM
Awesome  :happy:
Title: Re: Graphs not working
Post by: Botsareus on July 06, 2013, 10:10:58 AM
Just figured out a way to temporary hide graphs when you go to options or attempt to exit the program.
I agree that it was very annoying but I had no good ways of fixing it until now.