Search found 27 matches

by myghetto
Wed Nov 28, 2007 5:27 am
Forum: VCL
Topic: Finding minimum or maximum point on series
Replies: 4
Views: 3076

Hi, I have tried your code and it works but the problem I am having now is that my line series has points that increase and decrease like a roller coaster so basically it will keep detecting the min or max up til the end as long as the if statement is true. Is there a way to do it so that it will fi...
by myghetto
Sun Nov 25, 2007 7:48 am
Forum: VCL
Topic: Finding minimum or maximum point on series
Replies: 4
Views: 3076

Finding minimum or maximum point on series

Hi, I would like to find the maximum/minimum point in a line series within the stated range. For example, if there are 818 samples in my line and I would only like to find the maximum in the first 409 samples, how do I do it? Ive tried: Chart.Series[1].MinYValue; or Chart.Series[1].MaxYValue; Proble...
by myghetto
Thu Jul 26, 2007 11:57 pm
Forum: VCL
Topic: Declaring Chart.Series as a variable on another unit
Replies: 6
Views: 2418

Hi Dan,

YOU ARE BRILLIANT. That is what I have been looking for. This has solved all the problems I am currently having. Thank you.

David
by myghetto
Thu Jul 26, 2007 11:45 pm
Forum: VCL
Topic: Declaring Chart.Series as a variable on another unit
Replies: 6
Views: 2418

This is my code below. The headunit is the main unit. data_plotting is the second unit. The chart3...... all have undeclared identifier. I was thinking maybe I was missing something in the uses area. Something in regards to chart. I tried copying and pasting all of the uses from my main unit but eve...
by myghetto
Thu Jul 26, 2007 11:22 pm
Forum: VCL
Topic: Declaring Chart.Series as a variable on another unit
Replies: 6
Views: 2418

Hi,
I have done that and tried putting the unit name before and after the implementation section. It still doesn't work. I suspect its something you have to declare?
by myghetto
Thu Jul 26, 2007 1:03 am
Forum: VCL
Topic: Declaring Chart.Series as a variable on another unit
Replies: 6
Views: 2418

Declaring Chart.Series as a variable on another unit

Hi, I am currently trying to use Chart 3 type TForm1 = class(TForm) Chart3: TChart; in a separate unit which is linked to the main with the above code already in the main unit. In the separate unit, I am trying to use code such as Chart3.Series[0].Clear; Chart3.Series[0].AddXY; I was wondering what ...
by myghetto
Fri Jan 12, 2007 6:49 am
Forum: VCL
Topic: Insert TeeChart into Excel through OLE
Replies: 8
Views: 4979

Hi, That is where I am stuck on. I can't find a way to automatically load the image into excel with a press of a button in Delphi. That is what I am trying to achieve. I am using VCL and have tried numerous ways to load it straight into Excel. What did you have in mind about the transferring with VC...
by myghetto
Fri Jan 12, 2007 6:10 am
Forum: VCL
Topic: Change default export dialog values
Replies: 3
Views: 1596

Hi,

I have the full source code version. I have found the TeeExport.pas and looked through the file. I am a beginner in Delphi therefore have no idea what is going on. Please guide me through how to change it. Thank you very much.

Best regards,

David
by myghetto
Thu Jan 11, 2007 1:26 am
Forum: VCL
Topic: Change default export dialog values
Replies: 3
Views: 1596

Change default export dialog values

Is it possible to change the default export dialog values such as the width and height values in the picture section?
by myghetto
Thu Jan 11, 2007 12:13 am
Forum: VCL
Topic: Insert TeeChart into Excel through OLE
Replies: 8
Views: 4979

Thanks for the reply. I don't quite understand the .Tee either but I have found the VLX example. I have been playing with the Show Export dialog which saves the chart as a JPEG. Is it possible to just control excel with Delphi and send the picture straight to an exsisting excel template?
by myghetto
Wed Jan 10, 2007 12:18 am
Forum: VCL
Topic: Insert TeeChart into Excel through OLE
Replies: 8
Views: 4979

Hi,

I have just installed the evaluation version. Can't seem to find any examples for Delphi. Can you tell me the basic code of just importing a TeeChart as a picture from Delphi through OLE to Excel.

Thank you.
by myghetto
Tue Jan 09, 2007 11:56 pm
Forum: VCL
Topic: displaying individual failure marks
Replies: 12
Views: 5493

Hi, From my previous code above procedure TForm1.Series2GetMarkText(Sender: TChartSeries; ValueIndex: Integer; var MarkText: string); begin for J:= 0 to 400 do if (OpenMaxMinMid + OpenShift + 0.3) < (QuickLoadBuffY[J] + B) then begin MarkText:= 'Failure'; end else begin MarkText:= ''; end; for J:= O...
by myghetto
Tue Jan 09, 2007 12:25 pm
Forum: VCL
Topic: displaying individual failure marks
Replies: 12
Views: 5493

Hi, Have been trying various different ways but it all end up displayed together. It is operating like the original marks function where it is displayed along the whole line. Maybe you misunderstood. What I am trying to do is actually just display single failure marks where the line has failed, othe...
by myghetto
Mon Jan 08, 2007 6:13 am
Forum: VCL
Topic: Insert TeeChart into Excel through OLE
Replies: 8
Views: 4979

Insert TeeChart into Excel through OLE

Hi,
I am trying to insert TeeChart into Excel through OLE. It can be inserted as a BMP or whatever as long as it is displayed in Excel. Also I need to set the dimensions so that it is size: 64 by AP in Excel measurements. Thank you.
by myghetto
Wed Dec 20, 2006 10:51 pm
Forum: VCL
Topic: displaying individual failure marks
Replies: 12
Views: 5493

Hi,

Thanks for that code. It works but it displays 'Failure' at every point, even sections that don't fail. I will continue to try and solve this problem but a sample code would definitely help. Your help is much appreciated. Thank you.

David