Search found 9167 matches

by Yeray
Thu Apr 05, 2007 11:18 am
Forum: VCL
Topic: mulitcolor serie
Replies: 12
Views: 17178

Hello guzial, Ensure that you have set the following properties to true: YourLineSeries.ColorEachLine:=true; YourLineSeries.ColorEachPoint:=true; If this doesn't help, could you please send us a simple example project we can run "as-is" to reproduce the problem here? You can post your files at news:...
by Yeray
Wed Mar 28, 2007 8:59 am
Forum: VCL
Topic: Get BottomAxis Value
Replies: 1
Views: 4948

Hello Kev, the following example shows you two ways to achieve it: procedure TForm1.ChartTool1DragLine(Sender: TColorLineTool); var x, y, index: Integer; begin x:=Series1.CalcXPosValue(ChartTool1.Value); //first way for y:=Chart1.Axes.Left.IStartPos to Chart1.Axes.Left.IEndPos do if Series1.Clicked(...
by Yeray
Thu Mar 22, 2007 9:17 am
Forum: VCL
Topic: TeeChart / Intraweb / Onclick
Replies: 1
Views: 4630

Hello drueter,
You can use OnClick event as follows:

Code: Select all

procedure TForm1.Series1Click(Sender: TChartSeries; ValueIndex: Integer;
  Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
begin
  Chart1.Title.Caption := 'Clicked Pie: ' + inttostr(Series1.CalcClickedPie(X,Y));
end;
by Yeray
Wed Mar 14, 2007 10:25 am
Forum: VCL
Topic: TFastLineSeries displays null point
Replies: 2
Views: 6365

Hi rhyden, you're right, this is a known issue in our wish-list to be enhanced for future releases. In the meantime, In order to do what you need, you can do something like the example bellow: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialo...
by Yeray
Thu Mar 08, 2007 9:53 am
Forum: VCL
Topic: Area Graph Question
Replies: 3
Views: 6929

Hello mh, To plot an area series you should have, at least, two points to define a valid area to be plotted. Anyway, if you wish to achieve what you request you could use something like the AddValue method and OnGetPointerStyle event (to show the points you need) as in the example we implemented bel...
by Yeray
Fri Mar 02, 2007 11:18 am
Forum: VCL
Topic: How to align two charts
Replies: 3
Views: 6150

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...
by Yeray
Fri Mar 02, 2007 10:16 am
Forum: VCL
Topic: TeeLineSeparator not working with axis labels
Replies: 5
Views: 9898

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...
by Yeray
Wed Feb 28, 2007 9:27 am
Forum: VCL
Topic: X Axis labels
Replies: 2
Views: 6108

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...
by Yeray
Mon Feb 26, 2007 8:19 am
Forum: VCL
Topic: left justify mark text
Replies: 6
Views: 12537

Excuse us, you're right. This property has been added at version 8 beta and thats what confused us because it's the one we're working in. If you're interested on beta testing v8 let us know and we will provide you the necessary information.
by Yeray
Fri Feb 23, 2007 10:11 am
Forum: ActiveX
Topic: Can change IAnnotationTool.Callout arrow color in code?
Replies: 7
Views: 10816

Hi ellab_user,
You should do something like following:

Code: Select all

TChart1.Tools.Items(0).asAnnotation.Callout.Brush.color = vbRed
by Yeray
Wed Feb 21, 2007 9:26 am
Forum: VCL
Topic: Title position on the left-axis....
Replies: 2
Views: 6375

Hi Thomas,
You can take a look at this post
by Yeray
Wed Feb 21, 2007 9:11 am
Forum: VCL
Topic: Get Y value without using mouse click
Replies: 6
Views: 10933

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: 10933

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: 10933

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: 7519

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.