public NewPlotEventArgs(int plotPointCount, PlotLayouts initialLayout = PlotLayouts.Center) { this.PlotPointCount = plotPointCount; this.InitialLayout = initialLayout; this.PlotDimensions = new Size(); }
private void layoutNewGraph(PlotGraph graph, PlotLayouts plotLayout, double aspectRatio) { double modelHeight = PlotPointUtil.ModelHeight; double modelWidth = modelHeight * aspectRatio; plotLayoutFunctions[plotLayout](graph, new Size(modelWidth, modelHeight)); }