public InstanceGraphModelType( string title, string subTitle, Encoding xEncoding, Encoding yEncoding, GetXFromInstance <INSTANCE> getX, GetYFromInstance <INSTANCE> getY ) : base( title, subTitle, xEncoding, yEncoding, 1, null, null, (input, prepared) => input.Count(), (input, prepared, line, index) => getX.Invoke(input.ElementAt(index)), (input, prepared, line, index) => getY.Invoke(input.ElementAt(index))) { }
public SingleLineGraphModelType( string title, string subTitle, Encoding xEncoding, Encoding yEncoding, GetXFromInstance <INSTANCE> getX, GetYFromInstance <INSTANCE> getY) : base( title, subTitle, xEncoding, yEncoding, instances => null, getX, (input, prepared, line, index) => getY.Invoke(input.ElementAt(index))) { }
public MultiLineKeyedGraphModelType( string title, string subTitle, Encoding xEncoding, Encoding yEncoding, GetXFromInstance <INSTANCE> getX, GetYFromInstance <INSTANCE> getY, GetKey <INSTANCE, KEY> getKey, GetLabel <KEY> getLabel) : base( title, subTitle, xEncoding, yEncoding, getX, getY) { this.getKey = getKey; this.getLabel = getLabel; }