CursortTool Initial Position

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Pcbuch
Newbie
Newbie
Posts: 2
Joined: Wed May 23, 2007 12:00 am

CursortTool Initial Position

Post by Pcbuch » Mon Mar 29, 2010 3:35 pm

Dear Sir,

I try to impose the initial position of a vertical cursor (CursorTool) without success.
The version used is : 3.5.3498.27368.

Here my piece of code :

public partial class Form1 : Form
{
CursorTool _leftCursor;
Steema.TeeChart.Styles.Line line1;

public Form1()
{
InitializeComponent();


tChart1.Series.Add(line1 = new Steema.TeeChart.Styles.Line());
line1.FillSampleValues();

_leftCursor = new CursorTool(tChart1.Chart);
_leftCursor.Style = CursorToolStyles.Vertical;
_leftCursor.Series = line1;
_leftCursor.Active = true;

}

private void Form1_Load(object sender, EventArgs e)
{
_leftCursor.XValue = 1;
}

The cursor is not visible.
If I comment the line _leftCursor.XValue = 1 the initial position of the Vertical cursor is at the middle of the graph.

Can you help me ?

Philippe

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: CursortTool Initial Position

Post by Yeray » Tue Mar 30, 2010 9:17 am

Hi Philippe,

I think that the problem is the same that was discussed here
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Pcbuch
Newbie
Newbie
Posts: 2
Joined: Wed May 23, 2007 12:00 am

Re: CursortTool Initial Position

Post by Pcbuch » Tue Mar 30, 2010 11:35 am

Resolved.

Thank you very much

Philippe

Post Reply