0

Is it possible to add datapoints in loop?

public partial class Chart: Window
    {
        public IList<DataPoint> W1 { get; set; }

        public Chart(Learn l1)
        {
            int z = Convert.ToInt32(l1.counter);  
            {
                this.W1 = new List<DataPoint>
                            {

I want to add there for() loop to go thought l1.ww1 points and include it inside W1 oxyplot list

                new DataPoint(l1.ww1[i],i),
            };
 }


 InitializeComponent();
    }
Danki
  • 95
  • 2
  • 9

0 Answers0