Inheritance: XmlBase, IChartSerie
Exemple #1
0
 public Chart(XElement element)
     : base(element)
 {
     foreach (var xmlSerie in element.Elements("serie"))
     {
         var serie = new ChartSerie(xmlSerie);
         if (serie.Name == "windAverage") average = serie;
         else if (serie.Name == "windMax") max = serie;
     }
 }
Exemple #2
0
 public Chart(XElement element)
     : base(element)
 {
     foreach (var xmlSerie in element.Elements("serie"))
     {
         var serie = new ChartSerie(xmlSerie);
         if (serie.Name == "windAverage")
         {
             average = serie;
         }
         else if (serie.Name == "windMax")
         {
             max = serie;
         }
     }
 }