Mark pointer disappears

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Gp
Newbie
Newbie
Posts: 43
Joined: Thu Jan 13, 2005 5:00 am

Mark pointer disappears

Post by Gp » Tue Jul 26, 2005 11:33 pm

I'm trying to add a mark pointer to a fastline series. I open the editor, select my fastline, select "marks", "Arrow", "Pointer" and make it visible. The pointer shows up on the graph, but when I compile and run, no pointer. And then the pointer doesn't even show on the graph at design time.

A similar problem occurs when setting the line color. I set it in the editor, but often times the color gets set back to default. I have had to set the color in my constructor to get around this, but it seems to be a bug.

Any ideas?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Jul 27, 2005 10:13 am

Hi Gp,

Yes, you are right. I've already added this issue to our bug list to be fixed for future releases. In the meantime you can do it programmatically using:

Code: Select all

			fastLine1.Marks.Callout.Visible=true;


Regarding line color problem, it works fine here with latest v1 and v2 releases.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Gp
Newbie
Newbie
Posts: 43
Joined: Thu Jan 13, 2005 5:00 am

Post by Gp » Wed Jul 27, 2005 4:40 pm

thanks, this works. But I also need to know how to set the mark pointer style, size, position, etc...

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jul 28, 2005 10:47 am

Hi Gp,

You can use:

Code: Select all

			fastLine1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Circle;
			fastLine1.Marks.Callout.VertSize=5;
			fastLine1.Marks.Callout.HorizSize=10;
And for custom positioning marks arrows:

Code: Select all

		private void button1_Click(object sender, System.EventArgs e)
		{
			Steema.TeeChart.Styles.SeriesMarks.Position markPosition = tChart1[0].Marks.Positions[0];
			if(markPosition != null ) 
			{ 
				markPosition.ArrowFrom = new Point(100, 100);
				markPosition.Custom = true;
				tChart1[0].Repaint();
			}
		}
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply