In our application, we want to change the mouse cursor when the user hovers over some chart series.
However, when null-points are added to the series, these are not visible to the user,
so we do not want to see the mouse cursor changing when hovering over invisible parts of the chart series.
To illustrate the issue, I created following code sample. The resulting chart image is attached.
Code: Select all
Steema.TeeChart.Styles.Line line = new Steema.TeeChart.Styles.Line(tChart1.Chart);
line.Add(0);
line.Add(1);
line.Add(2);
line.Add(3);
line.Add(4);
line.SetNull(2);
line.Cursor = System.Windows.Forms.Cursors.Cross;
We make the mouse cursor change to a cross when going over the line.
Between (1,1) and (3,3), although the line is not visible, the mouse cursor still changes.
Is there a way to not change the mouse cursor when hovering over invisible parts of this line?
Regards,
Steven