Search found 228 matches

by TestAlways
Mon Jan 09, 2012 3:38 pm
Forum: VCL
Topic: Installing on a Windows 2011 Server
Replies: 5
Views: 7740

Re: Installing on a Windows 2011 Server

Is there a separate download available or do I have to wait for the next update?

Thanks,
Ed Dressel
by TestAlways
Wed Jan 04, 2012 4:58 pm
Forum: VCL
Topic: changing the color of some of the labels
Replies: 27
Views: 36625

Re: changing the color of some of the labels

In short, I need to know the date value of the label to be drawn and I'm not sure how can I do that given the fact that aText shows the date and day. Ofcourse I can rely on the fact that aText is in a fixed format and parse the relevant date out of it but I was wondering if there is a nicer way to ...
by TestAlways
Wed Jan 04, 2012 2:23 pm
Forum: VCL
Topic: changing the color of some of the labels
Replies: 27
Views: 36625

Re: changing the color of some of the labels

Start simple.... Did you try creating a demo with my code?
by TestAlways
Wed Jan 04, 2012 2:21 pm
Forum: VCL
Topic: Installing on a Windows 2011 Server
Replies: 5
Views: 7740

Re: Installing on a Windows 2011 Server

The problem is that the IDE looks in the system32 (or SysWOW64) folder for the runtime libraries so we have to copy them there... The IDE looks in the System32 folder, amongst other folders. The IDE also searches in other directories, e.g. by default, it searches the $(BDSCOMMONDIR)\Bpl folder, whi...
by TestAlways
Tue Jan 03, 2012 11:02 pm
Forum: VCL
Topic: Installing on a Windows 2011 Server
Replies: 5
Views: 7740

Installing on a Windows 2011 Server

We build our apps on a Windows SB Server 2011 and I cannot get the source code version to recompile. At first it couldn't delete the BPLs from the SysWOW64 directory. I removed all of the Tee*911.BPL s from then Wndows\SysWOW64 directory and got a bit further than I had, but now I get the following ...
by TestAlways
Tue Jan 03, 2012 3:48 pm
Forum: VCL
Topic: changing the color of some of the labels
Replies: 27
Views: 36625

Re: changing the color of some of the labels

Try the aChart.BottomAxis.OnDrawLabel event. My code for the event is below: procedure TfrmDBCalcRetirementYears.ChartBottomAxisDrawLabel(Sender:TChartAxis; var aX,aY,aZ:Integer; var aText:String; var aDrawLabel:Boolean); var I: Integer; lCalcXPos: Integer; lChart: TChart; lIdx: Integer; lMinOffBy: ...
by TestAlways
Fri Dec 02, 2011 4:47 pm
Forum: VCL
Topic: Left/Right margins change
Replies: 5
Views: 7596

Re: Left/Right margins change

Thank you.

Is there a way to track a bug? Any idea when this might be fixed?
by TestAlways
Fri Sep 30, 2011 1:11 pm
Forum: VCL
Topic: Left/Right margins change
Replies: 5
Views: 7596

Re: Left/Right margins change

I create the image from the same TChart object that is in my project.

I've attached a demo that recreates the problem--it creates a BMP for a TImage object.

Ed Dressel
by TestAlways
Thu Sep 29, 2011 6:20 pm
Forum: VCL
Topic: Left/Right margins change
Replies: 5
Views: 7596

Left/Right margins change

TChart 8.08.80307 Win 32 When I preview my chart on the screen, it appears fine. http://www.tbinc.com/misc/CTWChart1.png When I generate a graphic for a report (from the same TChart object), the width for the left/right margins are too big: http://www.tbinc.com/misc/CTWChart2.png When the chart is c...
by TestAlways
Thu Mar 17, 2011 2:16 pm
Forum: VCL
Topic: Spacing for Legend
Replies: 3
Views: 5747

Re: Spacing for Legend

The previous thread is 5 years old (2006). And I still don't see the answer in the 2010 chart--it is not the stacked legend I have a problem with, but a horizontal one. Is there still no solution for this?

Thank you,

Ed Dressel
by TestAlways
Tue Mar 15, 2011 4:35 pm
Forum: VCL
Topic: Spacing for Legend
Replies: 3
Views: 5747

Spacing for Legend

v 8.06 By default, if one item in the legend has long text, then the spacing for all items in the legend will be the same. Here are a couple examples with notes below: http://www.tbinc.com/misc/ChartLegendSpacing.png Is there any way to reduce the space used by Series2 and Series3? http://www.tbinc....
by TestAlways
Wed Feb 23, 2011 3:54 pm
Forum: VCL
Topic: Word Wrap title
Replies: 4
Views: 6964

Re: Word Wrap title

Sorry--ScanB is a Hyper Strings function. Here is a function that works for this scenario (FWIW, it is not from the HyperStr.pas file, I just quickly wrote this): function ScanB(const aText: string; const aChar: char; const aStartPos: integer): integer; var I: Integer; begin for I := Min(aStartPos, ...
by TestAlways
Tue Feb 22, 2011 4:43 am
Forum: VCL
Topic: Word Wrap title
Replies: 4
Views: 6964

Re: Word Wrap title

I used the following code, but i my app, had to use 60% of the chart's width to get it t work correctly. (The chart is created just for an image and I had to parent it with a form for it to work). function GetWrappedText(const aWidth: integer; aCanvas: TCanvas3D; const aText: string): string; var lF...
by TestAlways
Sat Feb 19, 2011 7:44 pm
Forum: VCL
Topic: Word Wrap title
Replies: 4
Views: 6964

Word Wrap title

Is it possible to automatically word wrap a title? I have a fairly long one a custom wants on a smaller chart. If it can't, but there is a code-snippet around for inserting the #13s into the text, I would appreciate it.

Thank you,
Ed Dressel
by TestAlways
Wed Jan 12, 2011 3:35 pm
Forum: VCL
Topic: changing the color of some of the labels
Replies: 27
Views: 36625

Re: changing the color of some of the labels

The following code works, but isn't very elegant: procedure TfrmDBCalcRetirementYears.ChartBottomAxisDrawLabel(Sender:TChartAxis; var aX,aY,aZ:Integer; var aText:String; var aDrawLabel:Boolean); var I: Integer; lCalcXPos: Integer; lChart: TChart; lIdx: Integer; lMinOffBy: Integer; lOffBy: Integer; l...