Search found 6 matches

by JC
Thu Jan 13, 2005 1:12 pm
Forum: VCL
Topic: TCursorTool.XValue and positioning the cursor in the middle
Replies: 0
Views: 5305

TCursorTool.XValue and positioning the cursor in the middle

I need to reload a chart and then place the cursor tool back to the middle of the X Axis. The documentation is a little vague The XValue property corresponds to the horizontal "X" position in Axis scales of the current cursor position. on this issue. It seems the XValue corresponds to the first item...
by JC
Wed Jan 12, 2005 10:13 am
Forum: VCL
Topic: Exception when creating and removing tools via code
Replies: 3
Views: 7020

Other tools used

I do use other tools and more will be added dynamicaly as well and I cannot call a clear all.

See the test project for an example of the error
by JC
Wed Jan 12, 2005 8:40 am
Forum: VCL
Topic: Exception when creating and removing tools via code
Replies: 3
Views: 7020

Exception when creating and removing tools via code

When creating tools (annotation tools) dynamicaly at runtime, an exception is generated when the tools are removed and then free'd. Sample code below: procedure TViewAnalyzer.HideZoneOverlay; var i : integer; begin for i := 0 to 19 do //max of 20 zones and annotations begin if (FSessionZoneBands[i] ...
by JC
Tue Jan 11, 2005 12:33 pm
Forum: VCL
Topic: Annotation Tool and relocation after zooming the chart
Replies: 5
Views: 11343

Now i have a serious Exception

Putting the code in OnBeforeDrawSeries works but I am getting exceptions that killing the chart + app.I use wrapper routines to hide and shwo zone overlays as follows: procedure TViewAnalyzer.HideZoneOverlay; var i : integer; begin for i := 0 to 19 do begin if (FSessionZoneBands[i] <> nil) then begi...
by JC
Tue Jan 11, 2005 11:29 am
Forum: VCL
Topic: Annotation Tool and relocation after zooming the chart
Replies: 5
Views: 11343

More of the same

When resizing the form, the same happens - the annotation floats in teh middle on nowhere. is there no way to keep it relative to the correct location
by JC
Tue Jan 11, 2005 11:25 am
Forum: VCL
Topic: Annotation Tool and relocation after zooming the chart
Replies: 5
Views: 11343

Annotation Tool and relocation after zooming the chart

I have an annotation placed in a very specific point basec on X Y values for a series. When the user zoom - the annotaion remains in the same location and is pointing to an invalid location. I use use : // FSessionZoneNames .Shape.Left := DBChartSession.LeftAxis.PosAxis; FSessionZoneNames .Shape.Top...