Search found 25 matches

by dave novo
Wed May 19, 2010 7:00 pm
Forum: VCL
Topic: TeEngine.InternalDraw.ApplyMaxMinOffsets in conjuction with
Replies: 9
Views: 12593

Re: TeEngine.InternalDraw.ApplyMaxMinOffsets in conjuction with

Hello. I did not debug into CalcPosPoint to see under what conditions it rounds to a different value than IMinimum. The problem was fixed for me by not calling ApplyOffsets if the offsets were (0,0). I do not know how to recreate an exact example where CalcPosPoint returns a slightly different IMini...
by dave novo
Tue May 18, 2010 6:56 pm
Forum: VCL
Topic: TeEngine.InternalDraw.ApplyMaxMinOffsets in conjuction with
Replies: 9
Views: 12593

Re: TeEngine.InternalDraw.ApplyMaxMinOffsets in conjuction with

Hi Narcis, That is exactly correct. When you pass back the label value as sender.Minimum, it checks to make sure the value that you passed back was >Iminimum or else it stops drawing the labels. the problem I has was that sender.minumum was 0.0 but IMimimum was 0.02 because AdjustMaxMinRect was bein...
by dave novo
Fri Apr 23, 2010 3:02 am
Forum: VCL
Topic: TErrorBarSeries Legend
Replies: 1
Views: 4344

TErrorBarSeries Legend

Hello, I have multiple TErrorBarSeries on a chart and I have set the LegendStyle to Series Names. However, the symbol next to the legend name comes up with a picture of an error bar. However, I want there to be a square with the bar color. I am unclear what the purpose of having a picture of a bar a...
by dave novo
Thu Apr 22, 2010 11:11 pm
Forum: VCL
Topic: problem with TErrorSeries
Replies: 8
Views: 12585

Re: problem with TErrorSeries

Hi Yeray,

Thanks for the prompt response!
by dave novo
Wed Jan 20, 2010 3:41 pm
Forum: VCL
Topic: chartrect does not autosize based on custom axis label
Replies: 6
Views: 11959

Re: chartrect does not autosize based on custom axis label

Hi Narcis,

This should definitely be added as part of the standard behavior. If I have a plot use custom axes, why would I ever want TChart to only base the margin on one of the standard axes? The code that Yeray wrote should be incorporated as a standard part of the chartrect calculation!
by dave novo
Wed May 06, 2009 1:41 am
Forum: VCL
Topic: Bug in TColorGridSeries and Inverted Axes in TChart 8.04
Replies: 1
Views: 4432

Bug in TColorGridSeries and Inverted Axes in TChart 8.04

Hello, You guys introduced a few new bugs in TChart 8.04 in the TColorGridSeries. Here is the new method in TeeSurfa.TColorGrid.DrawAllValues. I made 3 corrections. 1,2. You were not considering inverted Axes when drawn the Horiz and Vert Axis 3. You made a copy/paste error and are checking FXStartI...
by dave novo
Fri May 01, 2009 9:58 am
Forum: VCL
Topic: Low pass filter on TLineSeries
Replies: 5
Views: 9827

Hello, For my 2 cents, please do not waste time supporting filters natively in TChart. There are dozens of implementations of FFT on the web, both free and for sale. Numerical Recipes in Pascal has a version. IMHO I would rather you guys concentrated on charting than implementing tools that are avai...
by dave novo
Sun Mar 29, 2009 12:58 am
Forum: VCL
Topic: Transparency and Metafiles
Replies: 7
Views: 11942

You can do that, i.e. if the current size of the bitmap is 100x100 at 100DPI (I know the screen is 96, but for simplicity sake) then you can tell TChart to render itself at 200x200. The SaveToBimap method takes a rect. However, then your lines, fonts etc will all be too small. (i.e. 8 pt font on a 1...
by dave novo
Sun Mar 29, 2009 12:37 am
Forum: VCL
Topic: Transparency and Metafiles
Replies: 7
Views: 11942

Is this a windows limitation Think of it more a a law of physics. You don't get something for nothing :-) Seriously, if you blow up a grainy image, you just get a larger version of a grainy image. You can never "increase the resolution" of the image. For instance, if your original image was 12 34 a...
by dave novo
Sat Mar 28, 2009 5:03 am
Forum: VCL
Topic: Transparency and Metafiles
Replies: 7
Views: 11942

Unfortunately, you cannot "increase the pixels per inch". I mean, you can make the image larger, and for each pixel add n pixels of the same color around it, but you will not get any better resolution. That is just the equivalent of a stretchDraw. Narcis is right, if Metafiles cannot handle transpar...
by dave novo
Thu Feb 05, 2009 4:41 pm
Forum: VCL
Topic: problem with Transparency, TColorGridSeries, IrregularGrid
Replies: 5
Views: 9259

Hi Yeray, In that case, can you suggest any way that I can add a second colorGridSeries that does not start at (0,0) and displays with a transparency. I cannot seem to get it to work. I have gotten a sample app to work with IrregularGrid=true, but then when I use that technique with real data I get ...
by dave novo
Thu Feb 05, 2009 3:04 pm
Forum: VCL
Topic: problem with Transparency, TColorGridSeries, IrregularGrid
Replies: 5
Views: 9259

Hi Yeray,

the problem is deeper than that I think. First of all yellow+blue make green. I am not sure how yellow and blue make gray. But that may be expected

When irregularGrid=False, it works fine if you start at (0,0) instead of offsetting it.
by dave novo
Thu Feb 05, 2009 7:47 am
Forum: VCL
Topic: speed of TColorGridSeries
Replies: 0
Views: 4870

speed of TColorGridSeries

Hello, We are currently using a TChartSeries to display an image of about 1300x1300 pixels. Its super slow. We have optimized the speed somewhat by exposing the normally private FColors array and adding the colors in one shot by adding to the FColors TList. However, there are still several inefficie...
by dave novo
Thu Feb 05, 2009 1:27 am
Forum: VCL
Topic: problem with Transparency, TColorGridSeries, IrregularGrid
Replies: 5
Views: 9259

problem with Transparency, TColorGridSeries, IrregularGrid

Hello, I am having trouble with the following code (put in the formCreate of a form with a TChart called Chart1): var xcntr: Integer; ycntr: Integer; newSeries: TColorGridSeries; begin newSeries:=TColorGridSeries.Create(chart1); newSeries.ParentChart:=chart1; newSeries.Pen.Visible:=False; newSeries....
by dave novo
Mon Dec 01, 2008 4:41 pm
Forum: VCL
Topic: TeeValueSingle in TChart 8.03
Replies: 9
Views: 13885

Hi Narcis,

That is good news at least. Is TeeRecompile something we have access to?