Search found 9527 matches
- Thu Aug 07, 2008 8:14 am
- Forum: VCL
- Topic: What happened to MinVisibleValue & MaxVisibleValue
- Replies: 3
- Views: 8077
Hi Phineas, Some considerations: 1) I've fixed the function I told you yesterday modifying one line of code. Where said: if (Series[i].YValue[j] < FAxis.Maximum) and (Series[i].YValue[j] > FAxis.Minimum) then Now it's: if (Series[i].YValue[j] <= FAxis.Maximum) and (Series[i].YValue[j] >= FAxis.Minim...
- Thu Aug 07, 2008 7:29 am
- Forum: VCL
- Topic: Teechartpro 7.12 Drawing a graph
- Replies: 25
- Views: 38248
Hi Didier, That's strange. You should see a series and a teefunction. Another test you can do could be to add a chart (and a function) to a new form at design time and see the declarations in the code generated. For me: //... type TForm1 = class(TForm) Chart1: TChart; Series1: TLineSeries; TeeFuncti...
- Wed Aug 06, 2008 9:06 am
- Forum: VCL
- Topic: Probably Stupid Question - Calculate Y from X
- Replies: 1
- Views: 3135
Hi Simon,
Could you take a look at the example that Narcis posted here? I think this will solve your both questions at the same time cause it calculates interpolated points and it should work for DateTime also.
Could you take a look at the example that Narcis posted here? I think this will solve your both questions at the same time cause it calculates interpolated points and it should work for DateTime also.
- Wed Aug 06, 2008 8:37 am
- Forum: VCL
- Topic: What happened to MinVisibleValue & MaxVisibleValue
- Replies: 3
- Views: 8077
Hi Phineas, The methods you mention are exclusive ActiveX methods. Here is how you could calculate the same in Delphi. And please, let us know if we've mistakenly documented the methods you mention as belonging to the VCL version, and if so, where we can find the error to correct it. function TForm1...
- Tue Aug 05, 2008 8:21 am
- Forum: VCL
- Topic: Teechartpro 7.12 Drawing a graph
- Replies: 25
- Views: 38248
- Tue Aug 05, 2008 8:15 am
- Forum: VCL
- Topic: copy chart to excel
- Replies: 3
- Views: 5326
Hi mc, Could you take a look at this example and see if it's useful at your end? procedure TForm1.Button1Click(Sender: TObject); Function GetChartJPEG(AChart:TCustomChart):TJPEGImage; var tmpBitmap:TBitmap; tmpChart: TChart; i:integer; begin result:=TJPEGImage.Create; { <-- create a TJPEGImage } tmp...
- Mon Aug 04, 2008 7:41 am
- Forum: VCL
- Topic: Teechartpro 7.12 Drawing a graph
- Replies: 25
- Views: 38248
Hi Clara,
This works for me here.
This works for me here.
Code: Select all
procedure TForm1.TeeFunction1Calculate(Sender: TCustomTeeFunction;
const x: Double; var y: Double);
begin
//y := 2+3*(1+x)-5 + (abs(power(-x,2)) - x*x) * 2 - 1/(x + 1);
y := sin(x) + cos(x) - abs(tan(x)) + x;
end;
- Thu Jul 31, 2008 8:28 am
- Forum: VCL
- Topic: 2 sets of axisarrowtools for the same axis
- Replies: 13
- Views: 20772
Hi Colin, The code I posted yesterday was for using a trackbar outside of the editor. Here you have a code I suggest you using a scrollbar with a 2D chart. procedure TForm1.ScrollBar1Change(Sender: TObject); var XIncrement, YIncrement: Double; begin with Series1 do begin XIncrement := ((MaxXValue - ...
- Wed Jul 30, 2008 10:18 am
- Forum: VCL
- Topic: 2 sets of axisarrowtools for the same axis
- Replies: 13
- Views: 20772
Hi Colin, I think I don't understand your request. I mean the Zoom slider, or trackbar, at ChartEditor -> Chart -> 3D . To do the same as this trackbar does, you could simply do: procedure TForm1.FormCreate(Sender: TObject); begin TrackBar1.Min := 0; TrackBar1.Max := 500; TrackBar1.Position := Chart...
- Wed Jul 30, 2008 7:46 am
- Forum: VCL
- Topic: Stacked Line Charts
- Replies: 4
- Views: 9243
Hi Colin,
In that case you may be interested in having a look at the interpolation example from Narcis.
In that case you may be interested in having a look at the interpolation example from Narcis.
- Tue Jul 29, 2008 8:37 am
- Forum: VCL
- Topic: Using Teechart 8.02 in quickreport5 (Delphi 2007)
- Replies: 12
- Views: 10815
- Tue Jul 29, 2008 8:11 am
- Forum: VCL
- Topic: Stacked Line Charts
- Replies: 4
- Views: 9243
Hi Colin, I'm afraid it won't work as you expect. Both Line and Area series calculate the stacked result following the series' indexes. So, the first, result point will be the result of the addition of the firsts values if stacked series. And if they don't coincide in x, it won't look as expected. I...
- Tue Jul 29, 2008 7:32 am
- Forum: VCL
- Topic: Using Teechart 8.02 in quickreport5 (Delphi 2007)
- Replies: 12
- Views: 10815
- Mon Jul 28, 2008 8:58 am
- Forum: VCL
- Topic: quadrant labels
- Replies: 4
- Views: 6286
- Mon Jul 28, 2008 8:50 am
- Forum: VCL
- Topic: Using Teechart 8.02 in quickreport5 (Delphi 2007)
- Replies: 12
- Views: 10815
Hi yam49,
Could you try to follow the QuickReport instructions here?
And note that in this topic title you talk about QuickReport v5 and the packages you are mentioning are from QuickReport v4 (xxxQR4xxx.dpk and DclxxxQR4xxx.dpk).
Could you try to follow the QuickReport instructions here?
And note that in this topic title you talk about QuickReport v5 and the packages you are mentioning are from QuickReport v4 (xxxQR4xxx.dpk and DclxxxQR4xxx.dpk).