[Quantproject-developers] QuantProject/b5_Presentation/Charting Chart.cs,1.3,1.4
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2005-01-20 01:16:12
|
Update of /cvsroot/quantproject/QuantProject/b5_Presentation/Charting In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3005/b5_Presentation/Charting Modified Files: Chart.cs Log Message: New constructors have been added Index: Chart.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b5_Presentation/Charting/Chart.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Chart.cs 1 Aug 2004 00:27:14 -0000 1.3 --- Chart.cs 20 Jan 2005 01:15:53 -0000 1.4 *************** *** 52,61 **** /// </summary> /// <param name="history">History for the new ChartPlot</param> ! public void Add( History history ) ! { ! ChartPlot chartPlot = new ChartPlot( history ); ! this.chartPlots.Add( chartPlot ); ! } ! /// <summary> /// Adds a new ChartPlot to the Chart, using the given arguments for the Color, /// the StartDate and the EndDate --- 52,66 ---- /// </summary> /// <param name="history">History for the new ChartPlot</param> ! public void Add( History history ) ! { ! ChartPlot chartPlot = new ChartPlot( history , Color.Red ); ! this.chartPlots.Add( chartPlot ); ! } ! public void Add( History history , Color color ) ! { ! ChartPlot chartPlot = new ChartPlot( history , color ); ! this.chartPlots.Add( chartPlot ); ! } ! /// <summary> /// Adds a new ChartPlot to the Chart, using the given arguments for the Color, /// the StartDate and the EndDate |