WPF Teechart - CursorTool FastCursor property
Posted: Fri Mar 13, 2009 2:04 pm
WPF Teechart - Cursor disappears if CursorTool FastCursor property is set to true.
Below is the code snippet used for it
public partial class CursorTest : Window
{
private Tstyle.Line lineSeries1 = new Tstyle.Line();
private CursorTool cursorSRC = new CursorTool();
public CursorTest()
{
InitializeComponent();
tChart1.Series.Add(lineSeries1);
tChart1.Aspect.View3D = false;
this.lineSeries1.FillSampleValues(200);
tChart1.Tools.Add(cursorSRC);
this.cursorSRC.FollowMouse = true;
this.cursorSRC.Series = this.lineSeries1;
cursorSRC.FastCursor = true;
}
}
Below is the code snippet used for it
public partial class CursorTest : Window
{
private Tstyle.Line lineSeries1 = new Tstyle.Line();
private CursorTool cursorSRC = new CursorTool();
public CursorTest()
{
InitializeComponent();
tChart1.Series.Add(lineSeries1);
tChart1.Aspect.View3D = false;
this.lineSeries1.FillSampleValues(200);
tChart1.Tools.Add(cursorSRC);
this.cursorSRC.FollowMouse = true;
this.cursorSRC.Series = this.lineSeries1;
cursorSRC.FastCursor = true;
}
}