public class SalesItem
{
public double Value { get; set; }
public string Month { get; set; }
public string Country { get; set; }
}
public class SalesItemData : List<SalesItem>
{
Random r = new Random();
public SalesItemData()
{
this.Add(new SalesItem() { Month = "January", Country = "USA", Value = r.Next(500, 1000) });
this.Add(new SalesItem() { Month = "January", Country = "Japan", Value = r.Next(500, 1000) });
this.Add(new SalesItem() { Month = "January", Country = "UK", Value = r.Next(500, 1000) });
this.Add(new SalesItem() { Month = "February", Country = "USA", Value = r.Next(500, 1000) });
this.Add(new SalesItem() { Month = "February", Country = "Japan", Value = r.Next(500, 1000) });
this.Add(new SalesItem() { Month = "February", Country = "UK", Value = r.Next(500, 1000) });
this.Add(new SalesItem() { Month = "March", Country = "USA", Value = r.Next(500, 1000) });
this.Add(new SalesItem() { Month = "March", Country = "Japan", Value = r.Next(500, 1000) });
this.Add(new SalesItem() { Month = "March", Country = "UK", Value = r.Next(500, 1000) });
this.Add(new SalesItem() { Month = "April", Country = "USA", Value = r.Next(500, 1000) });
this.Add(new SalesItem() { Month = "April", Country = "Japan", Value = r.Next(500, 1000) });
this.Add(new SalesItem() { Month = "April", Country = "UK", Value = r.Next(500, 1000) });
this.Add(new SalesItem() { Month = "May", Country = "USA", Value = r.Next(500, 1000) });
this.Add(new SalesItem() { Month = "May", Country = "Japan", Value = r.Next(500, 1000) });
this.Add(new SalesItem() { Month = "May", Country = "UK", Value = r.Next(500, 1000) });
this.Add(new SalesItem() { Month = "June", Country = "USA", Value = r.Next(500, 1000) });
this.Add(new SalesItem() { Month = "June", Country = "Japan", Value = r.Next(500, 1000) });
this.Add(new SalesItem() { Month = "June", Country = "UK", Value = r.Next(500, 1000) });
}
}