void _resetVarPCAxisColors() { _axisColors = new List <Color>(_pcPlotVariables.Headers.Count); for (int i = 0; i < _axisColors.Capacity; i++) { if (_mainWindow.DataHandler.InterpolationCols.Contains(i) && _mainWindow.interpolationCheckBox.Checked) { _axisColors.Add(_axisColorInterpolated); } else { _axisColors.Add(_axisColorNormal); } } _pcPlotVariables.AxisLayer.AxisColors = _axisColors; _pcPlotVariables.Invalidate(); }
/// <summary> /// /// </summary> /// <param name="e"></param> /// <returns></returns> protected override bool InternalMouseMove(System.Windows.Forms.MouseEventArgs e) { // if mouse if over the label area trigger the mouse boolean if ((e.X < labelRight) && (e.X > labelLeft) && (e.Y >= labelTop) && (e.Y <= labelBottom)) { mouseOverText = true; mouseY = e.Y; plot.Invalidate(); return(true); } else { mouseOverText = false; if (iLabelZoomed) { iLabelZoomed = false; plot.Invalidate(); } } return(false); }
void _pcPlotVariables_FilterChanged(object sender, EventArgs e) { _pcPlotYears_FilterChanged(sender, e); _pcPlotYears.Invalidate(); }
/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void DocumentColorMapChanged(object sender, EventArgs e) { iPcPlot.Invalidate(); }