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?
Mark pointer disappears
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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:
Regarding line color problem, it works fine here with latest v1 and v2 releases.
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 |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Gp,
You can use:
And for custom positioning marks arrows:
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;
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 |
Instructions - How to post in this forum |