private void chbXY_CheckedChanged(object sender, EventArgs e)
 {
     if (chbXY.Checked)
     {
         graphDrawer.ShowXY();
     }
     else
     {
         graphDrawer.HideXY();
     }
 }