public PlotCanvas() : base() { // Create Drawing Surface with a reference to this PlotCanvas canvas = new DrawingSurface(this); // Create empty InteractionOccurred and PreRefresh Event handlers InteractionOccurred += new InteractionHandler(OnInteractionOccurred); PreRefresh += new PreRefreshHandler(OnPreRefresh); }
private Axis yAxis2Cache; // zooming, panning, etc #endregion Fields #region Constructors public PlotCanvas() : base() { // Create Drawing Surface with a reference to this PlotCanvas canvas = new DrawingSurface (this); // Create empty InteractionOccurred and PreRefresh Event handlers InteractionOccurred += new InteractionHandler (OnInteractionOccurred); PreRefresh += new PreRefreshHandler (OnPreRefresh); }