[Quantproject-developers] QuantProject/b5_Presentation/Reporting/WindowsForm EquityChartTabPage.cs,1
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2005-10-15 18:06:52
|
Update of /cvsroot/quantproject/QuantProject/b5_Presentation/Reporting/WindowsForm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15639/b5_Presentation/Reporting/WindowsForm Modified Files: EquityChartTabPage.cs Log Message: Equity line class Index: EquityChartTabPage.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b5_Presentation/Reporting/WindowsForm/EquityChartTabPage.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** EquityChartTabPage.cs 17 Apr 2005 02:15:28 -0000 1.5 --- EquityChartTabPage.cs 15 Oct 2005 18:06:36 -0000 1.6 *************** *** 50,56 **** { DateTime firstDate = ! (DateTime)this.accountReport.EquityHistory.GetKey( 0 ); double normalizingFactor = ! ( double )this.accountReport.EquityHistory[ firstDate ] / Convert.ToDouble( this.accountReport.BenchmarkEquityLine[ firstDate ] ); return this.accountReport.BenchmarkEquityLine.MultiplyBy( normalizingFactor ); --- 50,56 ---- { DateTime firstDate = ! (DateTime)this.accountReport.EquityLine.GetKey( 0 ); double normalizingFactor = ! ( double )this.accountReport.EquityLine[ firstDate ] / Convert.ToDouble( this.accountReport.BenchmarkEquityLine[ firstDate ] ); return this.accountReport.BenchmarkEquityLine.MultiplyBy( normalizingFactor ); *************** *** 62,66 **** this.equityChart = new Chart(); this.equityChart.Dock = DockStyle.Fill; ! this.equityChart.Add( accountReport.EquityHistory , Color.Red ); this.benchmark = this.getBenchmark(); // this.equityChart.Add( benchmark , Color.Blue , --- 62,66 ---- this.equityChart = new Chart(); this.equityChart.Dock = DockStyle.Fill; ! this.equityChart.Add( accountReport.EquityLine , Color.Red ); this.benchmark = this.getBenchmark(); // this.equityChart.Add( benchmark , Color.Blue , |