Search found 33 matches

by RSpence
Wed May 25, 2005 7:36 pm
Forum: VCL
Topic: T-Chart Pro and Rave / Delphi 7
Replies: 3
Views: 8012

To anyone reading...use a WMF instead...BMPs don't scale well
by RSpence
Mon May 23, 2005 5:14 pm
Forum: VCL
Topic: T-Chart Pro and Rave / Delphi 7
Replies: 3
Views: 8012

The answer is this. This is from Nevrona. You can't do it without buying THEIR professional version as well (currently US $349....). So, if you have T-Chart Pro, in order to print with Rave you need their Pro version. The (free) solution is to export the chart as a BMP - then load from that BMP in a...
by RSpence
Sun May 22, 2005 9:28 pm
Forum: VCL
Topic: T-Chart Pro and Rave / Delphi 7
Replies: 3
Views: 8012

T-Chart Pro and Rave / Delphi 7

Hi, I'm sure you heard this before but I couldn't fine an answer on the site. Trying to use Rave reports in Delphi 7 to print a T-Chart. Gives me an error about a dcu file - RPTChart - being compiled with a different version of Chart.CustomChart. I presume this is because I have the pro versiopn of ...
by RSpence
Tue Apr 12, 2005 5:01 pm
Forum: VCL
Topic: Aligning 2 charts' Y axis
Replies: 2
Views: 5234

Hi Narcis, Thanks for the tip - but the values for marginLeft were already the same for both charts. The solution I came up with was: i := self.framSampStatsGraphs.chrtFrequency.LeftAxis.PosAxis - self.framSampStatsGraphs.chrtBoxPlot.LeftAxis.PosAxis; self.framSampStatsGraphs.chrtBoxPlot.Left := sel...
by RSpence
Tue Apr 12, 2005 3:33 pm
Forum: VCL
Topic: Axis maximum when not visible
Replies: 2
Views: 5230

Hi Narcis,

The call to .Draw solved the problem, thanks. I had worked around it by getting the series' maximum.

Regards,

Rick
by RSpence
Tue Apr 12, 2005 3:29 pm
Forum: VCL
Topic: HistoGram Bin Width
Replies: 5
Views: 8956

Hi Marjan,

Narcis approach doesn't work either, I'm afraid. The solution is to replace the histogram with an area chart and do the maths ourselves...

Glad you've logged it.

Thanks,

Rick
by RSpence
Mon Apr 11, 2005 11:31 pm
Forum: VCL
Topic: Aligning 2 charts' Y axis
Replies: 2
Views: 5234

Aligning 2 charts' Y axis

Hi, Here's another one. I have two charts on a form. I need to have their Y axis aligned exactly. The problem is the captions on the Y AXIS are different widths - typically the top charts values are in the 1000s and the bottom ones are single digits. The widths of the labels seems to be throwing off...
by RSpence
Mon Apr 11, 2005 4:59 pm
Forum: VCL
Topic: Axis maximum when not visible
Replies: 2
Views: 5230

Axis maximum when not visible

Hi, I have a problem determining an Axis maximum when the chart is not visible. In following code Series1 is a horizontal box plot but I doubt it matters what the series is: self.Series1.AddXY(10, 10); self.Series1.AddXY(12, 10); self.Chart1.Update; showMessage( FloatToStr(self.Chart1.BottomAxis.max...
by RSpence
Thu Mar 31, 2005 6:48 pm
Forum: VCL
Topic: HistoGram Bin Width
Replies: 5
Views: 8956

More Information on Histogram Bin Widths The following code produces the first bin in series 1 as much wider thatn the other bins. Narcis' previous reply implied this had to do with scrolling -there is no scrolling or zooming on these charts. There are two charts, and one histogram series in each ch...
by RSpence
Thu Mar 31, 2005 3:54 pm
Forum: VCL
Topic: HistoGram Bin Width
Replies: 5
Views: 8956

Hi Narcis, In that specific case that does seem to fix the issue, but in the general case, there are still problems with the bin widths being different if I set the axis min / max myself. My goal is simple. I have two histograms showing different data, but I want the bottom axis scales to be the sam...
by RSpence
Thu Mar 31, 2005 12:59 am
Forum: VCL
Topic: HistoGram Bin Width
Replies: 5
Views: 8956

HistoGram Bin Width

Following code results in 2 bins of different widths. Shouldn't bins always be the same width? How to make them so? Regards, Rick type TForm1 = class(TForm) Button1: TButton; Chart1: TChart; Series1: THistogramSeries; procedure Button1Click(Sender: TObject); private { Private declarations } public {...
by RSpence
Sat Mar 19, 2005 12:01 am
Forum: VCL
Topic: Another ColorGrid question
Replies: 5
Views: 8482

Hi Marjan, I checked out this code. It almost works with two issues: 1. The calculation of the right coordinate in the HightRect function is returning the same value as left. It seems to need scaling somehow. In the exampe I have if I add 1 thru 3 to XIND it continues to return the same as the left ...
by RSpence
Fri Mar 18, 2005 10:49 pm
Forum: VCL
Topic: Histogram BottomAxis issue
Replies: 4
Views: 7628

Hi, I've narrowed this down. It appears that witha histogram, the bottomAxis.maximum always returns the value of last bin, not the highest value on the axis. Self contained code below shows this, I think: self.SeriesHist.Clear; self.chrtHistogram.BottomAxis.Automatic := false; self.chrtHistogram.Bot...
by RSpence
Fri Mar 18, 2005 4:41 pm
Forum: VCL
Topic: Histogram BottomAxis issue
Replies: 4
Views: 7628

Hi Pep, This doesn't work, I;'m afraid. In the example I just tried it on, the histogram bottom axies goes from 0 to 835, let's say, but when the code at the top graphcs bottom axis maximum it is 758. This top chat is the histogram - it appears to return the maximum as the start of the last bin. Als...
by RSpence
Fri Mar 18, 2005 2:29 am
Forum: VCL
Topic: Histogram BottomAxis issue
Replies: 4
Views: 7628

Histogram BottomAxis issue

Hi, Another one for you guys. I have two charts in a panel - one aligned alTop, the othe alClient. The top chart is a histogram, the bottom chart a box plot. Two different views of the same data. I want the bottom Axis on the bottom chart - the box plot - to be the same as the bottom axis on the top...