Markers
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi histry,
You can try doing something like this:
If that's not what you are looking for, could you please be more specific on what you need?
You can try doing something like this:
Code: Select all
fastLine1.Marks.Visible = true;
fastLine1.Marks.Arrow.Visible = false;
fastLine1.Color = Color.Transparent;
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 histry,
What do you exactly mean with "markers"?
Thanks in advance.
What do you exactly mean with "markers"?
Thanks in advance.
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 histry,
You may mean the series pointer. FastLine series, for its nature, doesn't have pointers. To use them you should use Line series:
You may mean the series pointer. FastLine series, for its nature, doesn't have pointers. To use them you should use Line series:
Code: Select all
Steema.TeeChart.Styles.Line line1 = new Steema.TeeChart.Styles.Line(tChart1);
line1.FillSampleValues();
line1.Pointer.Visible = true;
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 histry,
I don't think so as for FastLine to be as fast as possible we need to use the minimum elements possible.
For some hints on how to optimize your chart performance you can read this article and have a look at the All Features\Welcome !\Speed examples in the features demo, available at TeeChart's program group.
I don't think so as for FastLine to be as fast as possible we need to use the minimum elements possible.
For some hints on how to optimize your chart performance you can read this article and have a look at the All Features\Welcome !\Speed examples in the features demo, available at TeeChart's program group.
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 histry,
You can already custom draw the marks on the chart's canvas doing something like this:
You can already custom draw the marks on the chart's canvas doing something like this:
Code: Select all
private void DrawSeriesPointers()
{
Rectangle r = new Rectangle();
for (int i = 0; i < tChart1[0].Count; i++)
{
r.Width = 5;
r.Height = r.Width;
r.X = tChart1[0].CalcXPos(i) - (r.Width / 2);
r.Y = tChart1[0].CalcYPos(i) - (r.Height / 2);
tChart1.Graphics3D.Brush.Visible = true;
tChart1.Graphics3D.Rectangle(r);
}
}
private void tChart1_AfterDraw(object sender, Steema.TeeChart.Drawing.Graphics3D g)
{
DrawSeriesPointers();
}
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 |
Re: Markers
If you only need to display couple of points, then the best solution is to add another "regular" point series to chart, populate it with specific points from fastline series and then format it according to your needs. This way you'll still be able to benefit speed from fastline series.9642161 wrote:Would be nice if you could display a couple of points on a fastline for printing purposes. I understand your concern but you could implement it the same a markers where you can set a property for the number of markers to display
Marjan Slatinek,
http://www.steema.com
http://www.steema.com
Markers
These are all good work arrounds. I guess the question is for version 3 is there any consideration on adding points to the fastline series where you can specify that you only want the points displayed every so many data points. Similar to the way that markers work.
When printing the charts with something other than color printers it is important to be able to associate a symbol to a series.
Thanks
When printing the charts with something other than color printers it is important to be able to associate a symbol to a series.
Thanks
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi histry,
I don't think it's going to be implemented. However, using line series with visible pointers or point series you can also choose which pointers you want to display using the GetPointerStyle as shown on this message.
I don't think it's going to be implemented. However, using line series with visible pointers or point series you can also choose which pointers you want to display using the GetPointerStyle as shown on this message.
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 |
I think any additional coding (including filtering of points before displaying) would most likely create an overhead i.e. the fastline series would become slower.
Marjan Slatinek,
http://www.steema.com
http://www.steema.com