Example #1
0
        void chart_QueryChartCursor(object sender, QueryChartCursorEventArgs e)
        {
            ChartHitInfo hitInfo = chart.CalcHitInfo(e.Position);

            if (hitInfo != null && hitInfo.SeriesPoint != null && isLeftMouseButtonReleased)
            {
                e.Cursor = Cursors.Hand;
            }
        }
        void chart_QueryChartCursor(object sender, QueryChartCursorEventArgs e)
        {
            ChartHitInfo hitInfo = ChartControl.CalcHitInfo(e.Position);

            if (hitInfo != null && hitInfo.SeriesPoint != null)
            {
                e.Cursor = Cursors.Hand;
            }
        }
 private void chartControl1_QueryChartCursor(object sender, QueryChartCursorEventArgs e)
 {
     e.Cursor      = Cursors.None;
     e.CursorImage = new BitmapImage(new Uri(@"/CustomCursor;component/mycursor.png", UriKind.Relative));
 }