Exemple #1
0
        private void ShowValueOnHover2_Load(object sender, EventArgs e)
        {
            int    pointCount = 100;
            Random rand       = new Random(0);

            double[] xs = DataGen.Consecutive(pointCount, 0.1);
            double[] ys = DataGen.NoisySin(rand, pointCount);

            sph = formsPlot1.plt.PlotScatterHighlight(xs, ys);
            formsPlot1.Render();
        }
Exemple #2
0
        public ShowValueOnHover()
        {
            InitializeComponent();

            int    pointCount = 100;
            Random rand       = new Random(0);

            double[] xs = DataGen.Consecutive(pointCount, 0.1);
            double[] ys = DataGen.NoisySin(rand, pointCount);

            sph = wpfPlot1.plt.PlotScatterHighlight(xs, ys);
            wpfPlot1.Render();
        }
Exemple #3
0
        public ShowValueOnHover()
        {
            this.InitializeComponent();
#if DEBUG
            this.AttachDevTools();
#endif
            avaPlot1 = this.Find <AvaPlot>("avaPlot1");

            int      pointCount = 100;
            Random   rand       = new Random(0);
            double[] xs         = DataGen.Consecutive(pointCount, 0.1);
            double[] ys         = DataGen.NoisySin(rand, pointCount);

            sph = avaPlot1.plt.PlotScatterHighlight(xs, ys);
            avaPlot1.Render();

            avaPlot1.PointerMoved += MouseMove;
        }