Hi
I am marking point in top,bottom,left and right but point is not marked and visible in that area, i have crosschecked the code and i have not set any top bottom,left and right margin. if i draw any line and i want to show the line in whole are then it left few margin from top and bottom and vice versa from right to left. plz suggest.
Thanks in advance
Teechart Display area
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Teechart Display area
Would you please be so kind as to post a Short, Self Contained, Correct (Compilable), Example with which I can reproduce the problem here?amol wrote:I am marking point in top,bottom,left and right but point is not marked and visible in that area, i have crosschecked the code and i have not set any top bottom,left and right margin. if i draw any line and i want to show the line in whole are then it left few margin from top and bottom and vice versa from right to left. plz suggest.
Best Regards,
Christopher Ireland / 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: Teechart Display area
I want to draw line between two point in teechart but when i select the one point from top of the chart and one point from bottom then both points are not visible and not selected. so i am unable to draw the line, i crosschecked the code i have not set any margin in teechart. i have set only
tchart.Axes.Bottom.Minimum = min_x;
tchart.Axes.Bottom.Maximum = max_x;
tchart.Axes.Left.Minimum = min_y;
tchart.Axes.Left.Maximum = max_y;
tchart.Axes.Bottom.Minimum = min_x;
tchart.Axes.Bottom.Maximum = max_x;
tchart.Axes.Left.Minimum = min_y;
tchart.Axes.Left.Maximum = max_y;
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Teechart Display area
Hello amol,
I'm sorry but I don't understand which is the exact problem you are having. So, as Christopher Ireland already suggested:
Thanks in advance.
I'm sorry but I don't understand which is the exact problem you are having. So, as Christopher Ireland already suggested:
so that we can see which is the exact problem and try to suggest a solution to it?Christopher wrote: Would you please be so kind as to post a Short, Self Contained, Correct (Compilable), Example with which I can reproduce the problem here?
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 |
Re: Teechart Display area
I have attached the image plz find, My aim is draw the line over the teechart which cross the whole teechart . if i select one point from top and other point i select at mid the line should draw from top to bottom. how to achieve this. and second thing i am not able to select the point at top. i am attaching another image also . my line should look like 4.png. currently my line is drawing like 3.png.
- Attachments
-
- Required Line
- 4.png (3.28 KiB) Viewed 11914 times
-
- Currently this line drawing
- 3.png (6.05 KiB) Viewed 11900 times
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Teechart Display area
Hello amol,
Pardon me for insisting but, could you please send us the Short, Self Contained, Correct (Compilable), Example project Christopher and I asked for? We are willing to help you solve your problems. However, without executing and debugging your code and seeing how you are selecting points and painting those lines it's almost impossible for use providing an accurate answer.
Thanks in advance.
Pardon me for insisting but, could you please send us the Short, Self Contained, Correct (Compilable), Example project Christopher and I asked for? We are willing to help you solve your problems. However, without executing and debugging your code and seeing how you are selecting points and painting those lines it's almost impossible for use providing an accurate answer.
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 |
Re: Teechart Display area
Leave all the things, if i need to draw the lines after picking two points as attached like 4.png then how can i draw? 3.png is my current line.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Teechart Display area
Hi amol,
The easiest options is using a DrawLine tool:
You'll find more examples at the All Features\Welcome !\Tools\ section in the features demo, available at TeeChart's program group.
The easiest options is using a DrawLine tool:
Code: Select all
tChart1.Series.Add(new Steema.TeeChart.Styles.Points()).FillSampleValues();
tChart1.Tools.Add(new Steema.TeeChart.Tools.DrawLine());
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 |