Beispiel #1
0
 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);
 }
Beispiel #2
0
        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);
        }