Search found 15 matches

by Steve Chamberlain
Thu Feb 14, 2008 7:19 am
Forum: VCL
Topic: TeeCreateBitmap Memory Problem - TChart
Replies: 7
Views: 18329

I forgot how we solved this in the end, but it is now working. We store the image as a JPEG, but for a number of users this generates an exception. In this case, the image is saved in bitmap format. We never found out what it is about the small group of users' systems that causes an exception to be ...
by Steve Chamberlain
Wed Dec 19, 2007 1:14 pm
Forum: VCL
Topic: TeeCreateBitmap Memory Problem - TChart
Replies: 7
Views: 18329

Hi Narcis, I think I see what the problem is. If I reduce the size of the graph, then the relative sizes of fonts, line widths etc are not resized. I think the best solution is to first reduce the size of the graphs overall and then also reduce the fonts, lines etc. I have tested this theory with th...
by Steve Chamberlain
Wed Dec 19, 2007 12:15 pm
Forum: VCL
Topic: TeeCreateBitmap Memory Problem - TChart
Replies: 7
Views: 18329

Hi Narcis, I am not sure how this code should look using the StretchDraw method. I would like to use a TJPEGImage object, so that it can be saved to a blob stream. I don't have a direct handle to the printing process as this is done via Crystal Reports, so using code like Printer.Canvas.StretchDraw ...
by Steve Chamberlain
Wed Dec 19, 2007 11:49 am
Forum: VCL
Topic: TeeCreateBitmap Memory Problem - TChart
Replies: 7
Views: 18329

Thanks for the advice, I will see what I can do and report back.
by Steve Chamberlain
Wed Dec 19, 2007 11:16 am
Forum: VCL
Topic: TeeCreateBitmap Memory Problem - TChart
Replies: 7
Views: 18329

TeeCreateBitmap Memory Problem - TChart

Hi All, I have a problem printing TChart objects. Here is my situation: I have a C++ project in Borland Developer Studio which uses TCharts. These charts TeeCreateBitmap method is called to extract a bitmap object which is stored in a database for use in Crystal Reports. The chart szies are very lar...
by Steve Chamberlain
Wed Aug 22, 2007 6:16 am
Forum: VCL
Topic: Polar plot - drawing a line from a point to the origin
Replies: 3
Views: 8001

That works a treat! Thanks for the tip.
by Steve Chamberlain
Tue Aug 21, 2007 9:16 am
Forum: VCL
Topic: Polar plot - drawing a line from a point to the origin
Replies: 3
Views: 8001

Thanks for the advice, I will try it this way and let you know how I get on.
by Steve Chamberlain
Tue Aug 21, 2007 8:27 am
Forum: VCL
Topic: Polar plot - drawing a line from a point to the origin
Replies: 3
Views: 8001

Polar plot - drawing a line from a point to the origin

Hi all, I have a polar plot with several series, each with several points. These points are joined by lines. The CloseCircle property is switched off, so a line is not drawn between the first and last point. This is desired. What I would like to do is draw a line from the first and last points to th...
by Steve Chamberlain
Mon Dec 11, 2006 4:42 pm
Forum: VCL
Topic: Creating a "ring" inside a polar plot
Replies: 2
Views: 5416

Excellent! Thank you very much!
by Steve Chamberlain
Mon Dec 11, 2006 4:20 pm
Forum: VCL
Topic: Creating a "ring" inside a polar plot
Replies: 2
Views: 5416

Creating a "ring" inside a polar plot

Hi, I need to draw a circle (thick black line) within a polar plot where the diameter of the circle is a point on the left axis. Is there an easy way to do this? I checked out the "tools" options in the TChart editor, but couldn't find anything there. I also thought about setting up a series and the...
by Steve Chamberlain
Tue Nov 28, 2006 7:35 am
Forum: VCL
Topic: after install
Replies: 9
Views: 17735

I did. I haven't gotten the error message for a few days now, so I don't remember what it was, but like I said I included the Tee header files in my project and that was enough for me, I just wanted to share the tip in case it can help someone out who has tried all the previous steps.
by Steve Chamberlain
Thu Nov 23, 2006 11:10 am
Forum: VCL
Topic: Changing the chart/series type on the fly
Replies: 3
Views: 6586

Ok, it works great! Thanks for the help.
by Steve Chamberlain
Wed Nov 22, 2006 3:45 pm
Forum: VCL
Topic: Changing the chart/series type on the fly
Replies: 3
Views: 6586

Thanks for your swift reply Narcís, I will try this out and will let you know my results.
by Steve Chamberlain
Wed Nov 22, 2006 3:15 pm
Forum: VCL
Topic: Changing the chart/series type on the fly
Replies: 3
Views: 6586

Changing the chart/series type on the fly

Hi all, I am fairly new to the TChart components. I created a polar plot based on a set of series already present in our program. The chart used to be a simple line chart. Is there any way to loop through the series of my TChart component and switch them to line or polar plot at will? The client wou...
by Steve Chamberlain
Tue Nov 21, 2006 11:56 am
Forum: VCL
Topic: after install
Replies: 9
Views: 17735

I also had this same problem, but in the end the only way I could solve the linker errors was to include the .hpp header files directly in my project.