kaiserfarrell / core-plot

Automatically exported from code.google.com/p/core-plot
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Redraw of Graph doesn't give expected result #434

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have a view that contains 2 bar graphs that are draw so they look stacked.

When the input variables for the second graph (modelling Graph) are changed I 
call the -reloadData method and the graph redraws but I am left with a blank 
area between the bars.

It appears that the correct data is being picked up in the reload.

I am sure it is something i have done (it usually is), but any suggestions 
would be greatly appreciated.

Image 1 - View initial load
Image 2 - View after inputs changed

TIA

Steve

Original issue reported on code.google.com by steve.be...@gmail.com on 10 May 2012 at 7:54

Attachments:

GoogleCodeExporter commented 8 years ago
That looks like a problem with base value calculations on the green plot, 
likely a sign reversal somewhere.

Original comment by eskr...@mac.com on 11 May 2012 at 12:48

GoogleCodeExporter commented 8 years ago
I have been through and believe that I have sort any errors that I can see, the 
result is however not as expected.

Below is the data returned when i use the reload data  method. But the bottom 
graph doesn't refresh as expected.

2012-05-17 14:48:12.627 Debt Zapper[2530:707] Principle New Loan: 27683.158203
2012-05-17 14:48:12.630 Debt Zapper[2530:707] Principle New Loan: 27683.160156
2012-05-17 14:48:12.634 Debt Zapper[2530:707] Principle New Loan: 27683.158203
2012-05-17 14:48:12.641 Debt Zapper[2530:707] Principle New Loan: 27683.158203
2012-05-17 14:48:12.645 Debt Zapper[2530:707] Principle New Loan: 27683.160156
2012-05-17 14:48:12.648 Debt Zapper[2530:707] Principle New Loan: 27683.158203
2012-05-17 14:48:12.652 Debt Zapper[2530:707] Principle New Loan: 27683.160156
2012-05-17 14:48:12.658 Debt Zapper[2530:707] Principle New Loan: 27683.160156
2012-05-17 14:48:12.662 Debt Zapper[2530:707] Principle New Loan: 27683.160156
2012-05-17 14:48:12.666 Debt Zapper[2530:707] Principle New Loan: 27683.158203
2012-05-17 14:48:12.669 Debt Zapper[2530:707] Principle New Loan: 27683.160156
2012-05-17 14:48:12.675 Debt Zapper[2530:707] Principle New Loan: 27683.160156
2012-05-17 14:48:12.679 Debt Zapper[2530:707] Principle New Loan: 27683.160156
2012-05-17 14:48:12.682 Debt Zapper[2530:707] Principle New Loan: 27683.158203
2012-05-17 14:48:12.686 Debt Zapper[2530:707] Principle New Loan: 27683.160156
2012-05-17 14:48:12.692 Debt Zapper[2530:707] Principle New Loan: 27683.158203
2012-05-17 14:48:12.695 Debt Zapper[2530:707] Principle New Loan: 27683.160156
2012-05-17 14:48:12.699 Debt Zapper[2530:707] Principle New Loan: 27683.158203
2012-05-17 14:48:12.702 Debt Zapper[2530:707] Principle New Loan: 27683.160156
2012-05-17 14:48:12.705 Debt Zapper[2530:707] Principle New Loan: 27683.158203
2012-05-17 14:48:12.709 Debt Zapper[2530:707] Principle New Loan: 0.000000
2012-05-17 14:48:12.712 Debt Zapper[2530:707] Principle New Loan: 0.000000
2012-05-17 14:48:12.715 Debt Zapper[2530:707] Principle New Loan: 0.000000
2012-05-17 14:48:12.719 Debt Zapper[2530:707] Principle New Loan: 0.000000
2012-05-17 14:48:12.722 Debt Zapper[2530:707] Principle New Loan: 0.000000
2012-05-17 14:48:12.730 Debt Zapper[2530:707] Interest New Loan: 20874.214844
2012-05-17 14:48:12.734 Debt Zapper[2530:707] Interest New Loan: 20367.466797
2012-05-17 14:48:12.737 Debt Zapper[2530:707] Interest New Loan: 19822.998047
2012-05-17 14:48:12.740 Debt Zapper[2530:707] Interest New Loan: 19238.011719
2012-05-17 14:48:12.744 Debt Zapper[2530:707] Interest New Loan: 18609.488281
2012-05-17 14:48:12.747 Debt Zapper[2530:707] Interest New Loan: 17934.185547
2012-05-17 14:48:12.751 Debt Zapper[2530:707] Interest New Loan: 17208.626953
2012-05-17 14:48:12.755 Debt Zapper[2530:707] Interest New Loan: 16429.068359
2012-05-17 14:48:12.759 Debt Zapper[2530:707] Interest New Loan: 15591.494141
2012-05-17 14:48:12.763 Debt Zapper[2530:707] Interest New Loan: 14691.581055
2012-05-17 14:48:12.767 Debt Zapper[2530:707] Interest New Loan: 13724.695312
2012-05-17 14:48:12.770 Debt Zapper[2530:707] Interest New Loan: 12685.849609
2012-05-17 14:48:12.774 Debt Zapper[2530:707] Interest New Loan: 11569.685547
2012-05-17 14:48:12.778 Debt Zapper[2530:707] Interest New Loan: 10370.451172
2012-05-17 14:48:12.782 Debt Zapper[2530:707] Interest New Loan: 9081.967773
2012-05-17 14:48:12.786 Debt Zapper[2530:707] Interest New Loan: 7697.589844
2012-05-17 14:48:12.790 Debt Zapper[2530:707] Interest New Loan: 6210.180176
2012-05-17 14:48:12.794 Debt Zapper[2530:707] Interest New Loan: 4612.072754
2012-05-17 14:48:12.798 Debt Zapper[2530:707] Interest New Loan: 2895.026123
2012-05-17 14:48:12.801 Debt Zapper[2530:707] Interest New Loan: 1050.189697
2012-05-17 14:48:12.805 Debt Zapper[2530:707] Interest New Loan: 0.000000
2012-05-17 14:48:12.809 Debt Zapper[2530:707] Interest New Loan: 0.000000
2012-05-17 14:48:12.813 Debt Zapper[2530:707] Interest New Loan: 0.000000
2012-05-17 14:48:12.817 Debt Zapper[2530:707] Interest New Loan: 0.000000
2012-05-17 14:48:12.820 Debt Zapper[2530:707] Interest New Loan: 0.000000

Original comment by steve.be...@gmail.com on 17 May 2012 at 6:58

GoogleCodeExporter commented 8 years ago
Which of those numbers are base values and which ones are tip values?

Original comment by eskr...@mac.com on 18 May 2012 at 2:02

GoogleCodeExporter commented 8 years ago
Thanks for your comments regarding the base values. That was where I had 
stuffed up. I knew it would be something I had done. Many thanks for your help.

Steve

Original comment by steve.be...@gmail.com on 18 May 2012 at 3:02

GoogleCodeExporter commented 8 years ago

Original comment by eskr...@mac.com on 18 May 2012 at 3:37