Search found 25 matches

by Whookie
Thu Apr 13, 2017 2:23 pm
Forum: VCL
Topic: FLOAT_OVERFLOW Exception resizing a chart (64bit)
Replies: 7
Views: 16820

Re: FLOAT_OVERFLOW Exception resizing a chart (64bit)

As promised here are the results of my investigations: First of all FPU and SSE masks are set by Delphi and they are different for 32bit and 64bit applications. See the following screenshot: exception.png Both screenshots are from my test application, and as far as I can tell those options are set w...
by Whookie
Wed Apr 12, 2017 12:49 pm
Forum: VCL
Topic: FLOAT_OVERFLOW Exception resizing a chart (64bit)
Replies: 7
Views: 16820

Re: FLOAT_OVERFLOW Exception resizing a chart (64bit)

As it seems Intel states (64-ia-32-architectures-software-developer-vol-1-manual): 4.9.1.4 Numeric Overflow Exception (#O) The processor reports a floating-point numeric overflow exception whenever the rounded result of an instruction exceeds the largest allowable finite value that will fit into the...
by Whookie
Mon Apr 10, 2017 1:17 pm
Forum: VCL
Topic: FLOAT_OVERFLOW Exception resizing a chart (64bit)
Replies: 7
Views: 16820

Re: FLOAT_OVERFLOW Exception resizing a chart (64bit)

I did some more tests (because I got some more Excpetions) and finally changed my fix to: MinAxisIncrement :TAxisValue = {$IFDEF TEEVALUESINGLE} 1.40129846432482e-45 {$ELSE} {$IFDEF WIN64} 0.00000001 {$ELSE} 4.94065645841247e-324 //this IS MinDouble {$ENDIF} {$ENDIF}; // Epsilon 0.000000000001; { <-...
by Whookie
Wed Apr 05, 2017 10:16 pm
Forum: VCL
Topic: Mouse position for MarkTipTool and ErrorSeries out of sync
Replies: 1
Views: 5874

Mouse position for MarkTipTool and ErrorSeries out of sync

Using a MarkTipTool with a TErrorSeries triggers the hints some distance left of the bar (you can use the sample attached to the previouse post).
mouseoff.png
mouseoff.png (22.48 KiB) Viewed 5927 times
by Whookie
Wed Apr 05, 2017 10:02 pm
Forum: VCL
Topic: TMarksTipTool.Format.TextAlignment=taLeftJustify not stored
Replies: 1
Views: 5597

TMarksTipTool.Format.TextAlignment=taLeftJustify not stored

TMarksTipTool.Format.TextAlignment=taLeftJustify is not stored in .dfm instead taCenter is used when the application is compiled or the form is reopened in the IDE

Use the attached application (ChartTool1) for testing it.
by Whookie
Mon Apr 03, 2017 4:13 pm
Forum: VCL
Topic: RX Tokyo 10.2 release
Replies: 8
Views: 18534

Re: RX Tokyo 10.2 release

yes thumb up for this feature!

btw. I'm interested in the TeRecompile src too (I'd like to see if I could implement my output path request from last year)
by Whookie
Mon Apr 03, 2017 4:09 pm
Forum: VCL
Topic: Margin to axis % not stored in .dfm
Replies: 1
Views: 5865

Margin to axis % not stored in .dfm

The margin to axis % isn't stored in the .dfm (at least of the 'Right Axis'):
lblseparation.png
lblseparation.png (18.24 KiB) Viewed 5903 times
After reopening the form (or compiling and running an application) that value is reset to 10%
by Whookie
Fri Mar 31, 2017 3:36 pm
Forum: VCL
Topic: FLOAT_OVERFLOW Exception resizing a chart (64bit)
Replies: 7
Views: 16820

Re: FLOAT_OVERFLOW Exception resizing a chart (64bit)

I have fixed the problem for my current version (v2017.20.170306) by adding the following code: TeEngine.pas Function TChartAxis.CalcIncrement:TAxisValue; ... Begin ... else result:=result*0.5; // Patch: Begin if IsZero(result) then Result := 0.00000001; // Patch: End; End; I had to put it in there ...
by Whookie
Fri Mar 31, 2017 12:33 pm
Forum: VCL
Topic: FLOAT_OVERFLOW Exception resizing a chart (64bit)
Replies: 7
Views: 16820

Re: FLOAT_OVERFLOW Exception resizing a chart (64bit)

... So I tried to find the place where the error origins from and found TCgartAxis,Draw,DoDrawLabels exception_01.PNG At the breakpoint (line 7454) IIncrement has the value mentioned in the previous post (and got calculated a few lines above). This might be the place to patch the the problem (but ma...
by Whookie
Fri Mar 31, 2017 11:34 am
Forum: VCL
Topic: FLOAT_OVERFLOW Exception resizing a chart (64bit)
Replies: 7
Views: 16820

FLOAT_OVERFLOW Exception resizing a chart (64bit)

This time i got a pretty nasty bug in my 64bit Application (and the bug is gone when compiling with 32bit) which has cost me some time to realize its 64bit. I've attached a sample application (TChart_Resize). You need to comile and run it as 64bit application! Use the mouse, grab the right border of...
by Whookie
Tue Mar 28, 2017 7:51 am
Forum: VCL
Topic: RX Tokyo 10.2 release
Replies: 8
Views: 18534

Re: RX Tokyo 10.2 release

1++
by Whookie
Mon Mar 27, 2017 3:43 pm
Forum: VCL
Topic: Problem resizing a chart after drawing
Replies: 9
Views: 16253

Re: Problem resizing a chart after drawing

...and here's sample....
by Whookie
Mon Mar 27, 2017 3:40 pm
Forum: VCL
Topic: Problem resizing a chart after drawing
Replies: 9
Views: 16253

Re: Problem resizing a chart after drawing

I run yet in another problem I was not able to solve. This time I supplied a "real" filter form my application and now when resising the bar (height) there is a black line appearing with some height-values: blackline.PNG I have again attached a sample application. Please run it and resize the form (...
by Whookie
Mon Mar 27, 2017 12:46 pm
Forum: VCL
Topic: Problem resizing a chart after drawing
Replies: 9
Views: 16253

Re: Problem resizing a chart after drawing

... but it didn't solve the resize - issue.

So I switched to custom labels (i finally was able do access the custom labels demo) and do the resize after the custom labels are set.

So just in case someone needs that sort of behaviour, I attatched my latest working sample application...
by Whookie
Mon Mar 27, 2017 8:50 am
Forum: VCL
Topic: Problems with binary installer...
Replies: 6
Views: 14179

Re: Problems with binary installer...

I seems I had troubles with my backup-ssd. After I downloaded the installer again, there where all the options I needed (including not to install the packages into the IDE)!