Search found 49 matches

by WD_Gordon
Wed Apr 01, 2009 5:09 pm
Forum: .NET
Topic: Graphics3D Pen Alignment
Replies: 2
Views: 6215

Graphics3D Pen Alignment

I am drawing an horizontal line in the BeforeDrawAxes event and it is several pixels in width, i.e. g.Pen.Width = 10. The problem is the line centers on the y axis value. I tried using the alignment property, g.Pen.DrawingPen.Alignment, and it seems to have no effect. Please see code below: g.Pen.Co...
by WD_Gordon
Wed Mar 04, 2009 6:51 pm
Forum: .NET
Topic: Image Transparency
Replies: 1
Views: 3941

Image Transparency

I was trying to draw an transparent image in the After_Draw event. You have a bool parameter named transparent in the Draw method. But in your Draw method in the CanvasGDIplus class you are extracting the pixel color for position 1,1. In my case the image transparent color is at pixel 0,0. I would l...
by WD_Gordon
Fri Feb 27, 2009 12:44 pm
Forum: .NET
Topic: Drawing an arrow at the end of a line using Graphics3D
Replies: 5
Views: 10493

Hi Sandra,

The only problem with your example is you are assuming the the line is running at a 45° angle. The user can size this object so the line can be drawn in all directions at any degree. Any suggestions?

Thanks,
Kevin
by WD_Gordon
Thu Feb 26, 2009 2:36 pm
Forum: .NET
Topic: Drawing an arrow at the end of a line using Graphics3D
Replies: 5
Views: 10493

Hi Sandra, I don't need the ArrowSeries, all I am doing is drawing in the AfterDraw event. I uploaded an image named Fibonacci_Arrow.JPG, to show you what I am talking about. The arrow at the top was drawn using the arrow method as follows: g.Arrow(true, new Point(topLeft.X, topLeft.Y), new Point(bo...
by WD_Gordon
Wed Feb 25, 2009 8:25 pm
Forum: .NET
Topic: Graphics3D Ellipse not transparent
Replies: 1
Views: 5112

Graphics3D Ellipse not transparent

Hi,

I am sure there is a simple answer to this but when I use the Ellipse method as so, g.Ellipse(r);, I get a solid black ellipse with a border color of the pen.Color. What I am looking for is a ellipse that is not filled in.

Thanks,
Kevin
by WD_Gordon
Wed Feb 25, 2009 8:03 pm
Forum: .NET
Topic: Drawing an arrow at the end of a line using Graphics3D
Replies: 5
Views: 10493

Drawing an arrow at the end of a line using Graphics3D

I and wanting to draw a line with a very pronounced arrow using the Graphics3D object. I tried using the g.Arrow method but when I specify a 7x7 pixel arrow the line is real thick. Why? And is there another way of doing this? I cannot use a DrawLine in this case as I am doing all my drawing in the A...
by WD_Gordon
Thu Feb 05, 2009 8:10 pm
Forum: .NET
Topic: Custom drawing using TeeChart's Canvas
Replies: 1
Views: 5707

Custom drawing using TeeChart's Canvas

When performing custom drawing in the TeeChart's Canvas, or in my case the AfterDraw event, I am allowing the user to drag the mouse and dynamically paint a Fibonacci Retracement. My question is this, can I restrict the drawing to the series drawing area? Right now if the user drags over the value l...
by WD_Gordon
Fri Jan 23, 2009 6:43 pm
Forum: .NET
Topic: Dragging RectangleTool issue
Replies: 1
Views: 4058

Dragging RectangleTool issue

I have created a RectangleTool and placed it on a candle chart. I create a second RectangleTool and place it on the chart overlapping half of the first RectangleTool. The second does indeed paint over the first but, if I click on the second RectangleTool where it is overlapping the first, the first ...
by WD_Gordon
Fri Jan 23, 2009 2:17 pm
Forum: .NET
Topic: RectangleTool MouseEvent issue
Replies: 3
Views: 7526

Hi Sandra,

If this will help the following will fix the issue in your Annotation.cs class in the MouseEvent handler:

if (e.Clicks == 2)
{
iDrag = false; //Add this line to cancel dragging

Kevin
by WD_Gordon
Thu Jan 22, 2009 4:52 pm
Forum: .NET
Topic: Text Advice
Replies: 5
Views: 8694

Hi Narcís, Okay, it appears I am heading in the right direction but I have another question. I created a quick test where I can add several RectangleTools on a candle chart. Everything looks good so far, but here is the tricky part. When I pan the chart, I would like the RectangleTools to move relea...
by WD_Gordon
Thu Jan 22, 2009 4:33 pm
Forum: .NET
Topic: RectangleTool MouseEvent issue
Replies: 3
Views: 7526

RectangleTool MouseEvent issue

In the MouseEvent of thr RectangleTool if a user double-clicks the object, enabling edit in the annotation object, the dragging flag is also getting set as well and can cause the RectangleTool to relocate if the user ends the edit and moves the mouse. I would suggest that if the user double-clicks t...
by WD_Gordon
Wed Jan 21, 2009 7:04 pm
Forum: .NET
Topic: Is there a tool to draw shapes on a chart?
Replies: 1
Views: 5289

Is there a tool to draw shapes on a chart?

I have a chartwith a candle series. My employer wants me to add the capability to draw circles and ellipses on the candle chart. Is there such a tool?
by WD_Gordon
Wed Jan 21, 2009 4:31 pm
Forum: .NET
Topic: Text Advice
Replies: 5
Views: 8694

Hi Narcís, So if I wanted 4 or 5 text labels in the chart area I would have to create multiple instances of the annotation tool? There is not a collection such as the DrawLine tool has a collection of DrawLineItem items? Also keep in mind that I have to allow the users to move the labels and change ...
by WD_Gordon
Wed Jan 21, 2009 3:43 pm
Forum: .NET
Topic: Text Advice
Replies: 5
Views: 8694

Text Advice

Hi, What I am needing is to allow the user to create several text labels on a chart that is mapped to the series so that when the chart is scrolled the labels (text) move with it, just like the DrawLine tool does, where as you enable it, you can create multiple labels, place them where you want, the...
by WD_Gordon
Mon Jan 05, 2009 3:46 pm
Forum: .NET
Topic: TeeChart2008 project missing snk file.
Replies: 1
Views: 3862

TeeChart2008 project missing snk file.

Hi,

The TeeChart2008 project is looking for TeeChart.snk. Do I just rename the dummy.snk file to TeeChart.snk?

Also your release notes mention it was compiled in VS2008 using .NET 2.0. Are there any issues using .NET 3.5?

Thanks.