Search found 71 matches

by David Novo
Tue Apr 12, 2005 5:26 am
Forum: VCL
Topic: strange problem with teeCreateMetafile
Replies: 2
Views: 5457

strange problem with teeCreateMetafile

Hello, I have a strange problem that is appearing. It only happens if I used a colorGrid with the rainbow palette. If I use my own palette it does not happen. Basically, when I render the TChart to a PDF file, I first use TeeCreateMetafile and then paint that metafile onto the PDF. For the type of p...
by David Novo
Tue Apr 12, 2005 12:15 am
Forum: VCL
Topic: how to make the axes the same length
Replies: 4
Views: 7145

Hello Narcis, I found this demo a while ago, but it is not what I need. This changes the max-min range of the longer axis so that it is proportionally longer than the max-min range of the shorter axis. As a result , there are considerable blank areas on the plot. It would be fine for what I needed i...
by David Novo
Sat Apr 09, 2005 1:18 am
Forum: VCL
Topic: how to make the axes the same length
Replies: 4
Views: 7145

how to make the axes the same length

Hello, The users in my application can resize the tchart. However, I want to ensure that the left and bottom axis are the same length, irrespective of the size of the tchart. Is there a way to make sure that this happens. something like: 1) calculate axis lengths as they would normally do 2) find sh...
by David Novo
Sat Feb 26, 2005 7:06 pm
Forum: Wishes and ideas
Topic: TeeCreateMetafile to work with OPENGL plots
Replies: 3
Views: 13461

TeeCreateMetafile to work with OPENGL plots

I have been hoping for this for ages. still hoping.....
by David Novo
Sat Feb 26, 2005 7:03 pm
Forum: VCL
Topic: Need more information on axis label
Replies: 4
Views: 8125

I am a little confused as to one of the comments above. Marjan said you could use the onGetAxisLabel to customize the axis, including color etc. However, onGetAxisLabel only has a "var LabelText:string" to pass back the actual text. How would I use this method to customize the color?
by David Novo
Sat Feb 26, 2005 6:59 pm
Forum: VCL
Topic: Tee7New.exe error if recompile source with TEEVALUESINGLE
Replies: 5
Views: 10084

We have recompiled with teeValueSingle and had no problems. The only thing to remember is the usual stuff, make sure that your project is pointing to the modified source, and not the old dcu's in the lib directly. The bpl's can usually stay the same, since they are usually used just to register TCha...
by David Novo
Fri Feb 25, 2005 7:09 pm
Forum: VCL
Topic: ROP Modes
Replies: 1
Views: 3879

ROP Modes

Hello, We are using teeCreateMetafile to draw on a tool that creates PDF files (WPPDF by WPTools). Everything works great, except when we use the rainbow palette. The PDF looks screwed up. The guy from WpTools says its because the Metafile contains ROP codes that a PDF file does not understand. If w...
by David Novo
Wed Feb 23, 2005 8:24 pm
Forum: VCL
Topic: How To implement InvalidateRect
Replies: 2
Views: 5095

Thank you pep, I will give that a try
by David Novo
Fri Jan 28, 2005 1:51 am
Forum: VCL
Topic: Need help scaling the chart on the printer
Replies: 1
Views: 4720

Do TeeCreateMetafile to get the metafile.

Then, do printer.canvas.stretchDraw(teeMeta,coords)

Where coords are the calculated coordinates in the printer resolution.
by David Novo
Fri Jan 28, 2005 1:48 am
Forum: VCL
Topic: How To implement InvalidateRect
Replies: 2
Views: 5095

How To implement InvalidateRect

I have a strange problem. (Delphi 7) I have an mdichild with a single form on it. The form contains a tchart with align=alClient. I am doing some drawing on the tchart in the onAfterDraw event. If I do chart.invalidate, the drawing works perfectly. However, if I do this var tst:tRect begin tst:=char...
by David Novo
Sun Aug 01, 2004 1:27 am
Forum: VCL
Topic: how do I know that the mouse is over a chart axis label
Replies: 1
Views: 4519

how do I know that the mouse is over a chart axis label

Hello,

I want to change the cursor if the mouse is over an axis title. Is there any way to check this in the onMouseMove?

-Dave