Search found 9537 matches
- Fri Mar 02, 2007 11:18 am
- Forum: VCL
- Topic: How to align two charts
- Replies: 3
- Views: 6964
In the following example, we made two series in two different charts, we set different legend widthes and aligned them. procedure TForm1.FormCreate(Sender: TObject); begin Series1.FillSampleValues(100); Series2.FillSampleValues(200); //Creating diferent size titles for each legend Chart1.Legend.Titl...
- Fri Mar 02, 2007 10:16 am
- Forum: VCL
- Topic: TeeLineSeparator not working with axis labels
- Replies: 5
- Views: 11287
In the following project I added in design time: -bar series -edit box and updown button relationed and inicialized to 12. This is only to see and change the right margin. You can consider it optional. procedure TForm1.FormCreate(Sender: TObject); begin //Adding some data to the bar series Series1.A...
- Wed Feb 28, 2007 9:27 am
- Forum: VCL
- Topic: X Axis labels
- Replies: 2
- Views: 6978
Hi Pete, We ran the following code without being able to reproduce your problem: void __fastcall TForm1::FormCreate(TObject *Sender) { Chart1->View3D = False; for (int i = 0; i < 500; i++) Series1->AddXY(Now()+(0.01*i),random(100),"",clRed); Series1->XValues->DateTime = True; } void __fastcall TForm...
- Mon Feb 26, 2007 8:19 am
- Forum: VCL
- Topic: left justify mark text
- Replies: 6
- Views: 14454
- Fri Feb 23, 2007 10:11 am
- Forum: ActiveX
- Topic: Can change IAnnotationTool.Callout arrow color in code?
- Replies: 7
- Views: 12270
Hi ellab_user,
You should do something like following:
You should do something like following:
Code: Select all
TChart1.Tools.Items(0).asAnnotation.Callout.Brush.color = vbRed
- Wed Feb 21, 2007 9:26 am
- Forum: VCL
- Topic: Title position on the left-axis....
- Replies: 2
- Views: 7238
Hi Thomas,
You can take a look at this post
You can take a look at this post
- Wed Feb 21, 2007 9:11 am
- Forum: VCL
- Topic: Get Y value without using mouse click
- Replies: 6
- Views: 12417
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...
- Tue Feb 20, 2007 9:48 am
- Forum: VCL
- Topic: Get Y value without using mouse click
- Replies: 6
- Views: 12417
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...
- Fri Feb 16, 2007 8:50 am
- Forum: VCL
- Topic: Get Y value without using mouse click
- Replies: 6
- Views: 12417
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...
- Fri Feb 09, 2007 10:28 am
- Forum: VCL
- Topic: TeePreviewPanel rectangle
- Replies: 3
- Views: 8534
Hi amih,
Using TeeChart v7.07 the next line of code works fine for us:
If it still doesn't solve your problem, tell us what version are you using and we'll look for another solutions.
Using TeeChart v7.07 the next line of code works fine for us:
Code: Select all
TeePreviewPanel1->Margins->Visible = false;
- Mon Feb 05, 2007 10:11 am
- Forum: VCL
- Topic: TeeLineSeparator not working with axis labels
- Replies: 5
- Views: 11287
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...
- Fri Feb 02, 2007 9:17 am
- Forum: VCL
- Topic: How to place a mark on a single data point
- Replies: 1
- Views: 6500
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: ...
- Mon Jan 29, 2007 10:58 am
- Forum: VCL
- Topic: TeePreviewPanel rectangle
- Replies: 3
- Views: 8534
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 ...
- Fri Jan 26, 2007 10:41 am
- Forum: ActiveX
- Topic: Date in bar series X-axis
- Replies: 3
- Views: 8075
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...
- Wed Jan 24, 2007 9:31 am
- Forum: VCL
- Topic: pointerstyle:=psrectangle
- Replies: 2
- Views: 7140
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...