[Quantproject-developers] QuantProject/b5_Presentation/Charting CharPlot.cs,1.1,1.2
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2005-01-20 01:15:27
|
Update of /cvsroot/quantproject/QuantProject/b5_Presentation/Charting In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2851/b5_Presentation/Charting Modified Files: CharPlot.cs Log Message: Several new constructors have been added Index: CharPlot.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b5_Presentation/Charting/CharPlot.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** CharPlot.cs 24 Jan 2004 19:27:15 -0000 1.1 --- CharPlot.cs 20 Jan 2005 01:15:15 -0000 1.2 *************** *** 60,77 **** } - public ChartPlot( History history ) - { - this.history = history; - this.color = Color.Red; - this.startDateTime = (DateTime)this.history.GetKey( 0 ); - this.endDateTime = (DateTime)this.history.GetKey( this.history.Count - 1 ); - } ! public ChartPlot( History history , Color color , DateTime startDateTime , DateTime endDateTime ) { ! this.history = history; ! this.color = color; ! this.startDateTime = startDateTime; ! this.endDateTime = endDateTime; } } --- 60,86 ---- } ! private void chartPlot( History history , Color color , ! DateTime startDateTime , DateTime endDateTime ) ! { ! this.history = history; ! this.color = color; ! this.startDateTime = startDateTime; ! this.endDateTime = endDateTime; ! } ! public ChartPlot( History history , Color color ) ! { ! this.chartPlot( history , color , ! (DateTime)history.GetKey( 0 ) , (DateTime)history.GetKey( history.Count - 1 ) ); ! } ! ! // public ChartPlot( History history ) ! // { ! // ChartPlot( history , Color.Red ); ! // } ! ! public ChartPlot( History history , Color color , DateTime startDateTime , DateTime endDateTime ) { ! this.chartPlot( history , color , startDateTime , endDateTime ); } } |