Exemplo n.º 1
0
        private void LoadFile_Click(object sender, RoutedEventArgs e)
        {
            dc.DataList.Clear();

            ds            = new DataSeries();
            ds.DataString = tfr.LoadFile();
            ds.LineColor  = Brushes.DarkBlue;
            ds.FillColor  = Brushes.DarkBlue;
            dc.DataList.Add(ds);
            AddChart();
        }
 private void LoadFile_Click(object sender, RoutedEventArgs e)
 {
     dc.DataList.Clear();
     ds              = new DataSeriesMA();
     ds.DataString   = tfr.LoadFile();
     ds.NDays        = 5;
     ds.LineColor    = Brushes.Black;
     ds.SMALineColor = Brushes.Red;
     ds.WMALineColor = Brushes.DarkGreen;
     ds.EMALineColor = Brushes.Blue;
     dc.DataList.Add(ds);
     AddChart();
 }