Search found 46 matches

by Werner
Mon May 21, 2012 11:47 am
Forum: VCL
Topic: decimals on axis
Replies: 1
Views: 4702

decimals on axis

Hi, I use Tchart 8 professional. I set the decimal to a fix one e.g LeftAxis.AxisValuesFormat:=0.0 If I zoom the axisvalue is always the same : for e.g. 1.1/1.1/1.1 So what can I do, that the format changes so that the last digit is different. Example : I zoom -> the axis is 1.11/1.12/1.13 I zoom mo...
by Werner
Wed Nov 02, 2011 12:19 pm
Forum: VCL
Topic: zoom with mousewheel
Replies: 7
Views: 13322

Re: zoom with mousewheel

Dear Yeray, thank you for the code, this is for zoom in. I have tried this for zoom out, but the behaviour was always zoom in. Whats wrong ? BTW : ChroDataChart.ZoomRect(Rect(IMouseX-radius, IMouseY-radius, IMouseX+radius, IMouseY+radius)); results in a compiler error. if WheelDelta > 0 then begin R...
by Werner
Mon Oct 31, 2011 4:35 pm
Forum: VCL
Topic: zoom with mousewheel
Replies: 7
Views: 13322

Re: zoom with mousewheel

Thank you for the info,
do you have a sample project or a code snippet for it ?

with best regards

Werner
by Werner
Mon Oct 31, 2011 2:41 pm
Forum: VCL
Topic: zoom with mousewheel
Replies: 7
Views: 13322

Re: zoom with mousewheel

Dear Yeray,

I have tried the sample, but as I described the ZoomPercent does not fit the problem.
I suppose it has to be realized with ZoomRect, but don't no how.

with best regards
Werner
by Werner
Sat Oct 29, 2011 1:36 pm
Forum: VCL
Topic: zoom with mousewheel
Replies: 7
Views: 13322

zoom with mousewheel

Hi, I use teechart v8.07 and want to implement a zoom while mousewheel. This example don't work as I expected: procedure TChroDataResultFrame.ChroDataChartMouseWheel(Sender: TObject; Shift: TShiftState; WheelDelta: Integer; MousePos: TPoint; var Handled: Boolean); with ChroDataChart do begin if (Whe...
by Werner
Wed Oct 26, 2011 1:59 pm
Forum: VCL
Topic: Don't zoom th right axis
Replies: 1
Views: 4468

Don't zoom th right axis

Hi, I have a teechart (V8.07) with left axis, bottom axis and a right axis. No I want to zoom, so that the left axis and bottomaxis are scaled but the right axis remains with the origin values. For example the right axis was from 0..100% in the unzoomed mode. after zooming the left and bottoms axis ...
by Werner
Mon Oct 25, 2010 7:23 am
Forum: VCL
Topic: How to use Teegdiplus
Replies: 5
Views: 8980

Re: How to use Teegdiplus

Dear Narcis, I have uploaded the zip file TestGDIPlus. Please press the load button and load Dadmix.01z, the chart will be loaded. Zoom rectangle will be shown in case of zoom. After pressing the gdi+ button the chart change the color to red only and the zoom rectangle will be not shown anymore. wit...
by Werner
Wed Oct 20, 2010 12:04 pm
Forum: VCL
Topic: How to use Teegdiplus
Replies: 5
Views: 8980

Re: How to use Teegdiplus

Dear Narcis, I have tried it, but I don't succeed at least. In the function TGDIPLUSCanvas.GDPIColor I get a runtime error out of range. I have modified with {$R-}, now the error disappeared, but the colors are not correct. I have it tried on Xp and Win 7 with best regards Werner function TGDIPlusCa...
by Werner
Wed Oct 20, 2010 10:13 am
Forum: VCL
Topic: How to use Teegdiplus
Replies: 5
Views: 8980

How to use Teegdiplus

Hi,

I am using Teechart V8.07. How can I activate the gdiplus function ?

with best regards
Werner
by Werner
Mon Jan 04, 2010 4:28 pm
Forum: VCL
Topic: Incremental Repaint
Replies: 4
Views: 10005

Re: Incremental Repaint

Hi Yeray,

yes I have all tried the tips so far the series has this functions.

The number of points in the surface and contour are about 200 000 to 500 000.
So the question is: is there a function to calculate and display only the new datapoints (incremental repaint) ?

best regards
Werner
by Werner
Sun Jan 03, 2010 2:17 pm
Forum: VCL
Topic: Incremental Repaint
Replies: 4
Views: 10005

Incremental Repaint

Hi, I use a countorplot and a surfaceplot for displaying 3D -data. The data will be acquired from a detector and so 512 datapoints are send every 100ms. My programm add the new datapoints and repaint every 1 second the chart. If the datacounts increases the time for the repaint increases also, so I ...
by Werner
Tue Dec 15, 2009 10:35 am
Forum: VCL
Topic: TopAxis.PosAxis
Replies: 1
Views: 4428

TopAxis.PosAxis

Hi,

it seems that Topaxis.posaxis not calculated right. The value is always around 60, regardless I insert a title or set the legend to top position.

How can I retreive the rect of the grid onto the chart ? (This is the rect where the series are drawn )

with best regards
Werner
by Werner
Sat Dec 12, 2009 9:45 am
Forum: VCL
Topic: Looking forward to version 9... what's coming?
Replies: 34
Views: 58470

Re: Looking forward to version 9... what's coming?

Hi Narcis,
Is there a time frame for the new version 9 ?
You have announced that it could be in the first quarter of 2009, now it is end of 2009.

The new opengl looks very interesting.

with best regards

Werner
by Werner
Tue Aug 11, 2009 9:54 am
Forum: VCL
Topic: TContourplot hang when all YValues =0
Replies: 5
Views: 10974

Re: TContourplot hang when all YValues =0

Hi Yeray, the major problem is the program hang, if all y-values have the same value. Please compile my sample project, load the file as I described and see what happen. Meanwhile I have fixed the problem, but I am not sure if it works in any cases, so please have a look at it. Procedure TContourSer...
by Werner
Mon Aug 10, 2009 3:26 pm
Forum: VCL
Topic: TContourplot hang when all YValues =0
Replies: 5
Views: 10974

Re: TContourplot hang when all YValues =0

Dear Yeray, sorry , but I disagree completely. The data are sampled from a detector machine and therefore it could be happen, that all y-values have the same value. So you can't say to the user 'I cant' see the sense of having a contour series with the same value for all the Y values'. The program h...