Tutorial,Sample,Help ..I couldnt Find "ready solution"?
Is there any shortcut?
Or I have to right my select code for every diffrent type of series..
Thx..
How could I select whole series ?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi glikoz,
Sorry but I don't understand what you exactly want to do. Could you please be more specific on that?
Thanks in advance.
Sorry but I don't understand what you exactly want to do. Could you please be more specific on that?
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 |
Selecting Series...
if user left click on the series (for example Candle) ,Candle seems "selected" ..Mini circles seems on some point of series..or mini rectangle or mini diamond..
Best sample is
TeeChart for .NET Examples -->All Features -->Tools-->DrawLines-->DrawLine Tool ...
if you click line it is selected ...
Best sample is
TeeChart for .NET Examples -->All Features -->Tools-->DrawLines-->DrawLine Tool ...
if you click line it is selected ...
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi glikoz,
Ok, DrawLine is a tool, not a series style. However, I'm afraid only one line can be selected at each time.
BTW: What are you exactly trying to get, we may suggest you an alternative.
Ok, DrawLine is a tool, not a series style. However, I'm afraid only one line can be selected at each time.
BTW: What are you exactly trying to get, we may suggest you an alternative.
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 have been making Technical Analysis Solution like MetaStock(Equis) ..
For example: user loads chart of security(stock) ..(surely with Candle series)..
And user wants to select candle series ..Clicks a point on the series (any point on the series-not important which one)
How could user recognize the candle series was selected?
As LineTool ,some points on the candle series have got square points or diamond points..
I ask that I could easily write like that ...
Series.Onclick
{
Series.Selected=true;
}
or i have to write my own selection functions for every type of series ?
THx for advice ..
For example: user loads chart of security(stock) ..(surely with Candle series)..
And user wants to select candle series ..Clicks a point on the series (any point on the series-not important which one)
How could user recognize the candle series was selected?
As LineTool ,some points on the candle series have got square points or diamond points..
I ask that I could easily write like that ...
Series.Onclick
{
Series.Selected=true;
}
or i have to write my own selection functions for every type of series ?
THx for advice ..
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hi glikoz,
As you suggest, drawing rectangles using the Graphics3D object in the AfterDraw event would be one solution; another might be to change some of the visual properties of the series, e.g.
I'm afraid the Selected property (or similar) does not exist meaning that you will have to write your own selections functions for each series type.I ask that I could easily write like that ...
Series.Onclick
{
Series.Selected=true;
}
or i have to write my own selection functions for every type of series ?
As you suggest, drawing rectangles using the Graphics3D object in the AfterDraw event would be one solution; another might be to change some of the visual properties of the series, e.g.
Code: Select all
private void candle1_Click(object sender, System.Windows.Forms.MouseEventArgs e)
{
candle1.UpCloseColor = Color.Salmon;
candle1.DownCloseColor = Color.Purple;
candle1.HighLowPen.Color = Color.Cyan;
candle1.Pointer.Pen.Color = Color.Cyan;
tChart1.Invalidate();
}
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/