using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RealTimeGraphEx.Models
{
public class RealTimeGraphColumnsCollection
{
public List<RealTimeGraphExColumn> Columns { get; set; }
public List<double> ActualValues { get; set; }
public int TotalColumns
{
get { return Columns.Count; }
}
public RealTimeGraphColumnsCollection()
{
Columns = new List<RealTimeGraphExColumn>();
ActualValues = new List<double>();
}
public void Add(RealTimeGraphExColumn rec, int actualValue)
{
Columns.Add(rec);
ActualValues.Add(actualValue);
}
public void Add(int x, int y, int width, int bottom, int actualValue)
{