Search found 7 matches
- Thu Jan 13, 2005 1:59 pm
- Forum: VCL
- Topic: Marks - Behind Bar Series
- Replies: 5
- Views: 10786
Marks - Behind Bar Series
Ok. In this specific application I'm using the Standard version included in Delphi 5.0. I'm already using OnAfterDraw to draw the marks position, but in this case it's necessary the marks appear in front of the bar, else the layout of the chart will be terrible, with marks 'lost' in the chart. This ...
- Wed Jan 12, 2005 4:19 pm
- Forum: VCL
- Topic: Marks - Behind Bar Series
- Replies: 5
- Views: 10786
Code
Hi Narcis I didn't get acess the newsgroup. Below is the code (.pas and .dfm) : .pas unit Graficos; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, TeeProcs, TeEngine, Chart, Series; type TForm1 = class(TForm) Chart1: TChart; Series1: TBarSeries; Se...
- Wed Jan 12, 2005 11:12 am
- Forum: VCL
- Topic: Marks - Behind Bar Series
- Replies: 5
- Views: 10786
Marks - Behind Bar Series
Hi
I'm having the problem : marks behind the series when I use Bar Series and 2D ( in 3D it's OK ). I'm using the TChart that comes with Delphi 5.0. I calculate the marks points manually, but it isn't the cause. Is there a patch for this problem ?
Regards,
Marcelo
I'm having the problem : marks behind the series when I use Bar Series and 2D ( in 3D it's OK ). I'm using the TChart that comes with Delphi 5.0. I calculate the marks points manually, but it isn't the cause. Is there a patch for this problem ?
Regards,
Marcelo
- Mon Jan 10, 2005 5:05 pm
- Forum: VCL
- Topic: Marks - behind series
- Replies: 6
- Views: 16556
Same Problem in 2D Bar Series
I'm having the same problem ( marks behind the series ) when I use Bar Series and 2D ( in 3D it's OK ). I'm using the TChart that comes with Delphi 5.0. I calculate the marks points manually, but it isn't the cause. Is there a patch for this problem ? Regards. Marcelo Hi, Jim. I've tried to replicat...
- Wed Dec 22, 2004 2:03 pm
- Forum: VCL
- Topic: Marks plus Scroll
- Replies: 5
- Views: 9197
Hi Marcelo, yes, you can hide them using : Series.Marks.Arrow.Hide; or set the ArrowFrom and ArrowTo values. Hi Pep It's worked. Thanks. One more question : In code below, I have to call the Chart.refresh method to new marks positions work. Only using the Repaint didn't work. But when I use the Ref...
- Thu Dec 09, 2004 3:52 pm
- Forum: VCL
- Topic: Marks plus Scroll
- Replies: 5
- Views: 9197
Thanks Pep, your code solve my problem :) , but I didn't get move the arrows. What I need to do ? It's possible to hide those arrows ? tks. Marcelo Hi Marcelo, you can use similar code to the following : procedure TForm1.Chart1AfterDraw(Sender: TObject); begin DoAlignMarks(Series1); end; procedure T...
- Wed Dec 08, 2004 8:15 pm
- Forum: VCL
- Topic: Marks plus Scroll
- Replies: 5
- Views: 9197
Marks plus Scroll
Hi, I'm tryng to define manually the marks position in my chart ( TBarSeries ). I'm having troubles when I do a horizontal scrolling in the chart. The marks don't 'scroll' with the bars. This is the code : procedure TfSGEIS_SHOW.ChartAfterDraw(Sender: TObject); Var i,j:Integer; lAlterna : Boolean; b...