Search found 9531 matches

by Yeray
Wed Feb 21, 2007 9:11 am
Forum: VCL
Topic: Get Y value without using mouse click
Replies: 6
Views: 12387

Hi Daniel, probably not all your XValues for RealTime have a corresponding XValue in PredicatedLine. So you'll probably need to compare for each XValue if it has a corresponding XValue in PredicatedLine. But then there are two possibilities: -Assuming for all XValues, if they have an image, they are...
by Yeray
Tue Feb 20, 2007 9:48 am
Forum: VCL
Topic: Get Y value without using mouse click
Replies: 6
Views: 12387

Hi nileiqi, if we undestand your problem it should be solved using locate function, something like following: procedure TForm1.FormCreate(Sender: TObject); begin PredicatedLine.FillSampleValues(100); PredicatedLine.XValues.DateTime := True; end; procedure TForm1.Timer1Timer(Sender: TObject); var ind...
by Yeray
Fri Feb 16, 2007 8:50 am
Forum: VCL
Topic: Get Y value without using mouse click
Replies: 6
Views: 12387

Hi nileiqi, If your real-time line and your predicated line share the same X values then your problem could be solved with some like following: (Note that we added 3 series and a timer to the form in design time and also note that we calculate residual points by subtraction of RealTime from Predicat...
by Yeray
Fri Feb 09, 2007 10:28 am
Forum: VCL
Topic: TeePreviewPanel rectangle
Replies: 3
Views: 8509

Hi amih,

Using TeeChart v7.07 the next line of code works fine for us:

Code: Select all

TeePreviewPanel1->Margins->Visible = false;
If it still doesn't solve your problem, tell us what version are you using and we'll look for another solutions.
by Yeray
Mon Feb 05, 2007 10:11 am
Forum: VCL
Topic: TeeLineSeparator not working with axis labels
Replies: 5
Views: 11251

Hello Corey Panno, We tryed the following simple example code and it works fine for us. We only added a Chart in a new form and added a Bar series in design time. The other modifications we made were those following, in runtime: procedure TForm1.FormCreate(Sender: TObject); begin Series1.Add(123,'He...
by Yeray
Fri Feb 02, 2007 9:17 am
Forum: VCL
Topic: How to place a mark on a single data point
Replies: 1
Views: 6480

Hello keith, We think you have two ways to display your custom labels: 1) You can use the series' event "OnGetMarkText" to show the labels you choose. In the following example, in a Bar series, we show the third bar's label and modify its font size to 20: procedure TForm1.Series1GetMarkText(Sender: ...
by Yeray
Mon Jan 29, 2007 10:58 am
Forum: VCL
Topic: TeePreviewPanel rectangle
Replies: 3
Views: 8509

Hello amih, You can try the following code to save a metafile without paper line margins: procedure TForm1.Button1Click(Sender: TObject); begin TeePreviewPanel1.Panels.Add(Chart1); TeePreviewPanel1.Margins.Visible := false; TeePreviewPanel1.SaveToMetafile('C:\temp\MyMetaFile.emf'); end; And there's ...
by Yeray
Fri Jan 26, 2007 10:41 am
Forum: ActiveX
Topic: Date in bar series X-axis
Replies: 3
Views: 8057

Hi tsoffers, the following simple example code works fine with latest activex version (v7.0.1.3): Private Sub Form_Load() TChart1.AddSeries scBar TChart1.AddSeries scBar TChart1.Series(0).FillSampleValues 6 TChart1.Series(1).FillSampleValues 6 TChart1.Series(0).XValues.DateTime = True TChart1.Series...
by Yeray
Wed Jan 24, 2007 9:31 am
Forum: VCL
Topic: pointerstyle:=psrectangle
Replies: 2
Views: 7119

Hi seanmurphy, the following code works well with TeeChart 7.07 and Delphi 6: uses Series; procedure TForm1.FormCreate(Sender: TObject); var tmpSeries: TLineSeries; begin tmpSeries:=TLineSeries.Create(self); Chart1.AddSeries(tmpSeries); tmpSeries.Pointer.Visible:=true; tmpSeries.Pointer.Style:=psRec...
by Yeray
Fri Jan 19, 2007 8:56 am
Forum: VCL
Topic: 3D Pie intersects with Chart title
Replies: 1
Views: 5786

Hi MikeI,
We could reproduce the problem here and we added it into our wish-list to be enhanced for future releases.
Also note that the problem only appears when you turn marks to not visible and your form has to be quite wider than high.
by Yeray
Thu Jan 18, 2007 9:26 am
Forum: .NET
Topic: Tower performance question
Replies: 3
Views: 8478

The same code shows the elapsed time on re-drawing the chart when restoring after minimizing. And the times for my computer are even fewer than getting new values. Otherwise, maximizing the chart is slower because the drawed surface is bigger. It spends about 1 second for me. If you still have probl...
by Yeray
Wed Jan 17, 2007 10:38 am
Forum: .NET
Topic: Tower performance question
Replies: 3
Views: 8478

Hi wilcohsu, we made a simple project to test drawing speed of a tower series. private void button1_Click(object sender, EventArgs e) { tower1.FillSampleValues(40); } private DateTime startTime, now; private void tChart1_BeforeDraw(object sender, Steema.TeeChart.Drawing.Graphics3D g) { label1.Text =...
by Yeray
Wed Jan 17, 2007 9:42 am
Forum: VCL
Topic: How to constrain datetime zooming
Replies: 1
Views: 5894

Hi ChrisR,
I think you need to change your bottom axis increment like this:

Code: Select all

Chart1.Axes.Bottom.Increment := DateTimeStep[dtOneDay];
by Yeray
Tue Jan 16, 2007 8:21 am
Forum: VCL
Topic: left justify mark text
Replies: 6
Views: 14401

You can use the TextAlign property to justify your series marks as you want.

Code: Select all

Series1.Marks.TextAlign := taLeftJustify;
by Yeray
Mon Jan 15, 2007 9:40 am
Forum: VCL
Topic: Foot
Replies: 1
Views: 5772

Hi guzial, you could do a little trick: Set the foot not visible when creating the form and then use a button which sets the foot visible, calls the print function, and sets the foot not visible again. procedure TForm1.FormCreate(Sender: TObject); begin Chart1.Foot.Visible := false; end; procedure T...