public FunctionPlotUnit()
        {
            InitializeComponent();

            plotGraphWindow = new FunctionPlot(panelAxis, true);
            plotGraphWindow.SetAxisAdaption(FunctionPlot.AXIS_RANGE_FIXED, 255.0f);
        }
Exemple #2
0
        public FunctionPlotUnit()
        {
            InitializeComponent();

            plotGraphWindow = new FunctionPlot(panelAxis, true);
            plotGraphWindow.SetAxisAdaption(FunctionPlot.AXIS_RANGE_FIXED, 255.0f);
            this.DoubleBuffered = true;

            this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
            this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            this.SetStyle(ControlStyles.UserPaint, true);
        }
 public void SetAxisAdaption(int mode)
 {
     plotGraphWindow.SetAxisAdaption(mode);
 }