Exemplo n.º 1
0
        public DoubleDoubleMouseCrosshairCursorProvider(ChartControl chart,
                                                        XYDiagram2D diagram,
                                                        LineSeries2D series,
                                                        Canvas crosshairCursorCanvas,
                                                        ValueItem valueX,
                                                        ValueItem valueY,
                                                        Border verticalLine,
                                                        Border horizontalLine,
                                                        AxisX2D axisX,
                                                        AxisY2D axisY)
            : base(diagram, axisX, axisY, verticalLine, horizontalLine, valueX, valueY)
        {
            this.chart   = chart;
            this.diagram = diagram;
            this.series  = series;
            this.crosshairCursorCanvas = crosshairCursorCanvas;
            this.valueX         = valueX;
            this.valueY         = valueY;
            this.verticalLine   = verticalLine;
            this.horizontalLine = horizontalLine;
            this.axisX          = axisX;
            this.axisY          = axisY;

            chart.MouseMove    += ChartMouseMove;
            valueX.SizeChanged += ValueXSizeChanged;
            valueY.SizeChanged += ValueYSizeChanged;
        }
 public DoubleDoubleCrosshairCursorProvider(XYDiagram2D diagram,
                                            AxisX2D axisX,
                                            AxisY2D axisY,
                                            Border verticalLine,
                                            Border horizontalLine,
                                            ValueItem valueX,
                                            ValueItem valueY)
 {
     this.diagram        = diagram;
     this.axisX          = axisX;
     this.axisY          = axisY;
     this.verticalLine   = verticalLine;
     this.horizontalLine = horizontalLine;
     this.valueX         = valueX;
     this.valueY         = valueY;
 }
 public DoubleDoubleMovingCrosshairCursorProvider(XYDiagram2D diagram,
                                                  AxisX2D axisX,
                                                  AxisY2D axisY,
                                                  Canvas crosshairCursorCanvas,
                                                  Series series,
                                                  Border verticalLine,
                                                  Border horizontalLine,
                                                  ValueItem valueX,
                                                  ValueItem valueY)
     : base(diagram, axisX, axisY, verticalLine, horizontalLine, valueX, valueY)
 {
     this.crosshairCursorCanvas = crosshairCursorCanvas;
     this.diagram        = diagram;
     this.series         = series;
     this.verticalLine   = verticalLine;
     this.horizontalLine = horizontalLine;
 }