Search found 745 matches

by Marjan
Sun Nov 23, 2003 5:11 pm
Forum: VCL
Topic: Marks inside of stacked bars?
Replies: 11
Views: 32150

Hi. Pascal. Not automatically. But you can do several things: 1) Add extra line (summary) to existing mark text. This can be done in TChartSeries.OnGetMarkText event. 2) Manually draw required texts above series marks in TChart OnAfterDraw event. Basically, use TChart.Canvas.TextOut method to paint ...
by Marjan
Sat Nov 22, 2003 7:21 am
Forum: VCL
Topic: TQRChart - printing gridlines using Metafile setting
Replies: 7
Views: 21176

Re: TQRChart - no gridlines when printing

5889909 wrote:Does that mean the fault lies with Quick Report?
It's possible, but it's also possible the problem is in core Delphi metafile routine and it shows up in Quick Report.
by Marjan
Fri Nov 21, 2003 6:30 am
Forum: VCL
Topic: TQRChart - printing gridlines using Metafile setting
Replies: 7
Views: 21176

Hi.

Do you get these results only with TQRChart or do you get it also if you try to export TChart image to metafile format ? Also, which TeeChart version are you using ? Which Delphi version ?
by Marjan
Fri Nov 21, 2003 6:29 am
Forum: VCL
Topic: Marks inside of stacked bars?
Replies: 11
Views: 32150

Do you have any code examples for this? Yes, sure. Try using the following code: procedure CenterMarks(barSeries: TBarSeries); var i : Integer; yPos,yPos1,yPos2: Integer; xPos: Integer; MarkPos: TSeriesMarkPosition; begin MarkPos := TSeriesMarkPosition.Create; for i := 0 to barSeries.Count - 1 do b...
by Marjan
Thu Nov 20, 2003 6:48 am
Forum: VCL
Topic: TeeChart Pro 5, D6, Intraweb 6
Replies: 4
Views: 16128

Thanks for the help! My description was incomplete. When I change the reference from Intraweb_50_60 to Intraweb_60_60, it wants to recompile the Intraweb package, but it can't. Before I test the packages with the latest IW version, try setting the IMPLICITBUILD flag to OFF (select the "Explicitly r...
by Marjan
Thu Nov 20, 2003 6:42 am
Forum: VCL
Topic: Create Comparison graph from a table
Replies: 1
Views: 9598

Hi. You could use one of the cross tab features included in TeeChart (check the demo to see how it works), but I think your solution is also quite good. Well, you could pre-create specific number of series and then display/hide them by setting the TChartSeries.Active property, but freeing and re-add...
by Marjan
Wed Nov 19, 2003 2:49 pm
Forum: VCL
Topic: Marks inside of stacked bars?
Replies: 11
Views: 32150

Hi, Pascal. One easy workarund for this is to set marks ArrowLength propety to negative (reasonable) value. For example, the following code: Series1.Marks.ArrowLength := -25; will display marks inside bars. Of course, the problem might arise if bars heights are less than 25 pixels, but in other case...
by Marjan
Mon Nov 17, 2003 5:15 pm
Forum: VCL
Topic: series1.GetVertAxis.SetMinMax with aBothVertAxis does Left
Replies: 1
Views: 9360

Hi. True, I get the same results even with the latest TeeChart v7 beta sources. I guess SetMinMax was designed as TChartAxis method and should work only with single axis. In your case the workaround is to manually set right axis scale. I'd place the code in the TChart.OnZoom event. Here is pseudo-co...
by Marjan
Mon Nov 17, 2003 5:11 pm
Forum: VCL
Topic: Link series with right axis
Replies: 1
Views: 9159

Hi, Lasse.

This one is relatively simple. All you must do is set the series VertAxis property to aRightAxis:

Series1.VertAxis := aRightAxis;

Then Series1 will use right axis as it's vertical axis.
by Marjan
Mon Nov 10, 2003 5:46 pm
Forum: VCL
Topic: Using TCHART to create web graphs in apache webbroker module
Replies: 1
Views: 9802

Hi. Are you having problems only with TChart component in module or apache modules in general ? I must say I haven't tried it myself, but Brian Long wrote a good article about Delphi Apache modules a while ago. You can read it online at: http://www.thedelphimagazine.com/samples/1222/1222.htm There i...