public PlotterForm(PlotStyle style, PlotScale scale, Stream inputStream) { _plotStyle = style; _plotScale = scale; Stream = inputStream; InitializeComponent(); }
internal static string GetXmlRepresentation(this PlotScale plotScale) { switch (plotScale) { case PlotScale.Linear: { return("linear"); } case PlotScale.Log: { return("log"); } case PlotScale.Ln: { return("ln"); } case PlotScale.None: { return("none"); } default: { throw new ArgumentException("Specified PlotScale value is not valid."); } } }
public PlotterForm(PlotStyle style, PlotScale scale) { _plotStyle = style; _plotScale = scale; InitializeComponent(); }
private void LogToolStripMenuItem_Click(object sender, EventArgs e) { _plotScale = PlotScale.Log; PlotResults(); }
public SeriesBuilder WithPlotScale(PlotScale plotScale) { this.series.PlotScale = plotScale; return(this); }