Tengo dos curvas en el control de ZedGraph, después de trazar las curvas ambos ...Cómo traer curvas específicas en frente de ZedGraph
PointPairList thresholdList = new PointPairList();
PointPairList powerList = new PointPairList();
private void plotPower()
{
// Create an object to access ZedGraph Pane
GraphPane pane = zedGraphControl1.GraphPane;
LineItem thresholdLine = new LineItem("thresholdLine");
LineItem powerLine = new LineItem("powerLine");
// Set the Threshold Limit
double thresoldLimit = Convert.ToDouble(numAnalysisThreshold2.Value);
// Points
double[] x = new double[]{0, pane.XAxis.Scale.Max};
double[] y = new double[]{thresoldLimit, thresoldLimit};
// Set the threshold line curve list
thresholdList.Add(x, y);
// Set the Power Line curve list
powerdList.Add(XData, YData);
// Add Curves
thresholdLine = pane.AddCurve("", thresholdList, Color.Red, SymbolType.None);
powerLine = pane.AddCurve("", powerList, Color.Red, SymbolType.None);
// Refresh Chart
this.Invalidate();
zedGraphControl1.Refresh();
}
en el código anterior, me las arreglé para trazar las curvas como dos curva de línea de potencia sobre la curva de línea de umbral.
Ahora mis preguntas son, si quiero traer cualquiera de la curva al frente ... ¿Hay algún método disponible (por ejemplo: bringittoFront() ....) ...?
Gracias mucho por su tiempo .... :)
Muy problema, suponiendo que se puede usar un CurveItem en * varios * GraphPanes ... – Larry