Esempio n. 1
0
 /// <summary>
 /// Adds the range.
 /// </summary>
 /// <param name="value">The value.</param>
 public void AddRange(DateLineCollection value)
 {
     for (int i = 0; (i < value.Count); i = (i + 1))
     {
         Add(value[i]);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DateLineGraph"/> class.
 /// </summary>
 public DateLineGraph()
     : base()
 {
     dateLineCollection      = new DateLineCollection();
     dateXAxisTextCollection = new DateXAxisTextCollection();
     datePhaseLines          = new DateXAxisTextCollection();
     trendLine           = new DateLine();
     trendLine.Width     = 2.0F;
     MarginForTextOnAxis = 15;
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DateLineGraph"/> class.
 /// </summary>
 /// <param name="startDate">The start date.</param>
 /// <param name="endDate">The end date.</param>
 /// <param name="dateMode">The date mode.</param>
 public DateLineGraph(DateTime startDate, DateTime endDate, DateMode dateMode)
     : base()
 {
     this.startDate          = startDate;
     this.endDate            = endDate;
     this.dateMode           = dateMode;
     dateLineCollection      = new DateLineCollection();
     dateXAxisTextCollection = new DateXAxisTextCollection();
     datePhaseLines          = new DateXAxisTextCollection();
     trendLine           = new DateLine();
     trendLine.Width     = 2.0F;
     MarginForTextOnAxis = 15;
 }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DateLineCollection"/> class.
 /// </summary>
 /// <param name="value">The value.</param>
 public DateLineCollection(DateLineCollection value)
 {
     AddRange(value);
 }
Esempio n. 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DateLineEnumerator"/> class.
 /// </summary>
 /// <param name="mappings">The mappings.</param>
 public DateLineEnumerator(DateLineCollection mappings)
 {
     temp           = ((IEnumerable)(mappings));
     baseEnumerator = temp.GetEnumerator();
 }