Do you suggest to extend DrawLine class for make suchlike fibonacci,gann trendlines ..
We have two type analysis ..
a) Drag-Drop based series..(Drag-drop mouse on chart and series are added)
b) Non-Drag-Drop based series ( You can only use menus for adding it)
Which method do you suggest for a) situation ..And i have one extra problem for DrawLine :
It doesnt have onclick event ...How could i handle mouse_rightClick on DrawLine object..
Extending DrawLine Class..
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi glikoz,
You should search for examples on how to Drag and Drop in .NET. Then you will only have to add series using tChart1.Series.Add method.
DrawLine tool doesn't have OnClick event but has OnSelect and regarding on mouse button, you should use:
You should search for examples on how to Drag and Drop in .NET. Then you will only have to add series using tChart1.Series.Add method.
DrawLine tool doesn't have OnClick event but has OnSelect and regarding on mouse button, you should use:
Code: Select all
drawLine1.Button = System.Windows.Forms.MouseButtons.Right;
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 |