internal InterpolatedPoint(double x, double y, int nearestRefPoint, DisplayedGraph graph) { _X = x; _Y = y; _NearestRefPoint = nearestRefPoint; _Graph = graph; }
public void RemoveGraph(DisplayedGraph graph) { _Graphs.Remove(graph); UpdateScaling(); Invalidate(); UpdateLegend(); }
internal DisplayedPoint(DisplayedGraph gr, int index) { _Graph = gr; _PointIndex = index; }
public DisplayedGraph AddGraph(Graph graph, Color color, int lineWidth, string hint) { DisplayedGraph gr = new DisplayedGraph(this, graph, color, lineWidth, hint); _Graphs.Add(gr); UpdateScaling(); Invalidate(); UpdateLegend(); return gr; }