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(); }
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(); }
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; }