/** * Add a plot to the graph. This plot will use the specified * axes when drawing. The axes specified must have already * been appended to the Graph's axes list. */ public void AddPlot(IPlot plot, params IAxis[] axes) { if (plot == null || axes == null || axes.Length == 0) { return; } plots.Add(plot); plot.SetAxes(axes); plot.Style = style_prov; AddPlotListeners(plot); if (PlotsChanged != null) { PlotsChanged(this, Plots); } QueueResize(); }