Exemple #1
0
 /// <summary>
 /// Adds the range.
 /// </summary>
 /// <param name="value">The value.</param>
 public void AddRange(DateXAxisTextCollection value)
 {
     for (int i = 0; (i < value.Count); i = (i + 1))
     {
         Add(value[i]);
     }
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DateXAxisTextCollection"/> class.
 /// </summary>
 /// <param name="value">The value.</param>
 public DateXAxisTextCollection(DateXAxisTextCollection value)
 {
     AddRange(value);
 }
Exemple #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DateXAxisTextEnumerator"/> class.
 /// </summary>
 /// <param name="mappings">The mappings.</param>
 public DateXAxisTextEnumerator(DateXAxisTextCollection mappings)
 {
     temp           = ((IEnumerable)(mappings));
     baseEnumerator = temp.GetEnumerator();
 }