Ejemplo n.º 1
0
 /// <summary>
 /// Masque ou affiche une courbe
 /// </summary>
 /// <param name="curveName">Nom de la courbe à masquer ou afficher</param>
 public void ShowCurve(String curveName, bool showed = true)
 {
     if (CurvesDisplayed.ContainsKey(curveName))
     {
         CurvesDisplayed[curveName] = showed;
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Supprimer une courbe
 /// </summary>
 /// <param name="curveName">Nom de la courbe à supprimer</param>
 public void DeleteCurve(String curveName)
 {
     if (CurvesData.ContainsKey(curveName))
     {
         CurvesData.Remove(curveName);
         CurvesFilled.Remove(curveName);
         CurvesPen.Remove(curveName);
     }
     if (CurvesDisplayed.ContainsKey(curveName))
     {
         CurvesDisplayed.Remove(curveName);
     }
 }