public LineGraph(string title, string subTitle, DataPointFormat dataPointFormat, IEnumerable <Line> lines) { this.Title = title; this.SubTitle = subTitle; this.DataPointFormat = dataPointFormat; this.Lines = new List <Line>(lines); }
public LineGraph(string title, string subTitle, DataPointFormat dataPointFormat, params Line[] lines) : this(title, subTitle, dataPointFormat, (IEnumerable <Line>)lines) { }