Hi Narcis,
sorry I found a big mistake in my code: I use two charts and that chart I wnat to change was Chart2. Now the code is right.
What a stupid error.
Best regards
Roland
Search found 10 matches
- Fri Nov 12, 2010 11:40 am
- Forum: VCL
- Topic: Axis Minimum / Maximum
- Replies: 5
- Views: 3667
- Fri Nov 12, 2010 10:27 am
- Forum: VCL
- Topic: Axis Minimum / Maximum
- Replies: 5
- Views: 3667
Re: Axis Minimum / Maximum
Hi Narcis, sorry you are right. Archeology is very interesting, but I don't use Windows 95. it should be Win32. Here is the part of m code: Series1.Clear; Series2.Clear; if CntSPS_S>0 then begin for i := 0 to CntSPS_S - 1 do Series1.AddXY(SPS_S[i].Easting,SPS_S[i].Northing); end; if CntSPS_R>0 then ...
- Fri Nov 12, 2010 9:49 am
- Forum: VCL
- Topic: Axis Minimum / Maximum
- Replies: 5
- Views: 3667
Axis Minimum / Maximum
Hallo,
I use TChar VCL V. 8.04.11395 Win95.
In my code I want to change axis minimum and maximum. But first I want to read the axis maximum.
If I use
Chart1.BottomAxis.Maximum
or
Chart1.Axis.Bottom.Maximum ,
I get allways 0. How can I get the maximum of axis?
Best regards
Roland
I use TChar VCL V. 8.04.11395 Win95.
In my code I want to change axis minimum and maximum. But first I want to read the axis maximum.
If I use
Chart1.BottomAxis.Maximum
or
Chart1.Axis.Bottom.Maximum ,
I get allways 0. How can I get the maximum of axis?
Best regards
Roland
- Fri Apr 09, 2010 1:29 pm
- Forum: VCL
- Topic: scaled plot
- Replies: 3
- Views: 2873
Re: scaled plot
Hi Yeray, my problem is not to change the axes minimum or maximum to create isometric axes. I have a fixed minimum and maximum and will print a axis with a defined length (with printer resolution a defined number of pixels per axes). The scale of horizontal and vertical axes may be different. Best r...
- Thu Apr 08, 2010 8:18 am
- Forum: VCL
- Topic: scaled plot
- Replies: 3
- Views: 2873
scaled plot
Hi, I have to create a plot of a chart with a defined length of vertical and horizontal axes. For example I have a chart with a vertical axis form 0 to 25 and a horizontal axis from 0 to 350. I have to print the chart with a horizontal axis length of 10 cm and a vertical axis length of 20 cm. My Cod...
- Mon Apr 27, 2009 5:13 pm
- Forum: VCL
- Topic: save scaled chart as bitmap
- Replies: 5
- Views: 4520
Hi Yeray, that's exactly what I try to code... I have a well log and have to create a Bitmap with a vertical depth axis from top down into the borehole (for a given scale like 1cm = 40 m) and a horizontal axis with the result of a physical measurement (for a given scale too). Now, you have solved my...
- Mon Apr 27, 2009 1:58 pm
- Forum: VCL
- Topic: save scaled chart as bitmap
- Replies: 5
- Views: 4520
In my software I compute the size of horizontal and vertical axis in pixel. Now I want to create a bitmap of the chart with the exact length of axes in pixel. Example: iLeft:=90; iTop:=100; iWidth:=830; {length of horizontal axis in pixel} iRight:=110; iBottom:=120; iHeight:=1340; iWidth:=830; {leng...
- Fri Apr 24, 2009 1:29 pm
- Forum: VCL
- Topic: save scaled chart as bitmap
- Replies: 5
- Views: 4520
Sorry, I forgot: I work with Delphi 7 and TeeChart 8.04 VCL. I try to change the Chart with this code: Chart1.Height:=iLeft+iBreit+iRight; Chart1.Width:=iTop+iLang+iBottom; Chart1.MarginUnits:=muPixels; Chart1.MarginLeft:=iTop; Chart1.MarginBottom:=iLeft; Chart1.MarginRight:=iBottom; Chart1.MarginTo...
- Fri Apr 24, 2009 12:42 pm
- Forum: VCL
- Topic: save scaled chart as bitmap
- Replies: 5
- Views: 4520
save scaled chart as bitmap
I have to save a scaled chart in a bitmap, that means I computed the size of the bitmap, the length of axes and the start position of axis in pixel. I try to change the chart with Chart1.Width, Chart1.Height, Chart1.LeftAxis.IStartPos, Chart1.BottomAxis.IStartPos, Chart1.LeftAxis.IAxisSize and Chart...
- Mon Oct 27, 2008 1:12 pm
- Forum: VCL
- Topic: scaled print
- Replies: 1
- Views: 1876
scaled print
I have to print a chart in a defined horizontal and vertical scale. My experiments have all a defference (for example if the horizontal axis should have a length of 30 centimeters I will get a length of 29 centimeters and for the vertical axis I should have a length of 21.5 centimeters I 'll get a l...