{0:0.00000000}", coordinateY); this.Crosshair.X = coordinateX; this.Crosshair.Y = coordinateY; } //this.XPixelLabel.Location = new System.Drawing.Point(e.X, e.Y); //如果设置十字光标线为不显示数值就不显示了 if (!CrosshaircheckBox.Checked) { this.XPixelLabel.Text = ""; this.YPixel...
private void CrosshaircheckBox_CheckedChanged(object sender, EventArgs e) { if (CrosshaircheckBox.Checked) { this.Crosshair.VerticalLine.IsVisible = true; this.Crosshair.HorizontalLine.IsVisible = true; } else{ this.Crosshair.VerticalLine.IsVisible = false; this.Crosshair.HorizontalLine.IsVisible = f...
Feature Suggestion Feature description: Avoid the readonly modifier in Crosshair public members HLine and VLine, to make them consistent with plottables HLine and VLine. As shown in #2007, this is actually possible, resulting in lines wh...
Bug Report Making mouse tracking crosshair label on right is buggy. Horizontal line is on the zero and doesnt updated. Vertical line is ok. avaPlot1 = this.Find<AvaPlot>("StatPlot"); Crosshair = avaPlot1.Plot.AddCrosshair(0, 0); Crosshai...
Crosshair: New plot type that draws a cross centered at a given position in X/Y space Avalonia: Support Avalonia version 11.0.1 (#2822) @oktrue Controls: Now have GetCoordinates() with built-in logic for display scaling compensation (#2760) Rendering: Improve multi-platform color support ...
= function(e,r){ Crosshair.VerticalLine.IsVisible = false; Crosshair.HorizontalLine.IsVisible = false; Chart.Refresh(false,false);}Chart.MouseMove = function(){ var mouseCoordinates = Chart.GetMouseCoordinates(0,0); Crosshair.X = mouseCoordinates.Item1; Crosshair.Y = mouseCo...
在上面的示例代码中,我们首先定义了两条曲线,并将它们添加到图像中。然后,我们定义了一个mouse_move...
//plot fix marker to show centervarcrosshair=formsPlot.Plot.AddMarker(0,0,MarkerShape.cross,size:30,color:Color.Red);crosshair.MarkerLineWidth=2;formsPlot.Plot.SetAxisLimits(xMin:-xRelative,xMax:xRelative,yMin:-yRelative,yMax:yRelative);formsPlot.Plot.AxisScaleLock(true);formsPlot.Refresh()...
ScottPlot.Plottables.ScatterMyScatter;ScottPlot.Plottables.CrosshairMyCrosshair;publicShowValueOnHover(){InitializeComponentGenerate)MyScatter=formsPlot1.Plot.Add.Scatter(xs,ys);MyScatter.LineStyle=LineStyle.None;MyCrosshair=formsPlot1.Plot.Add.Crosshair(0,0);formsPlot1.Plot.AutoScale();formsPlot1.Refresh...
在上面的示例代码中,我们首先定义了两条曲线,并将它们添加到图像中。然后,我们定义了一个mouse_move...