Two annotations for cursor tool
-
- Newbie
- Posts: 14
- Joined: Tue Apr 08, 2014 12:00 am
Two annotations for cursor tool
Currently cursor tool has only one annotation on the bottom axis. Is it possible to have two annotations one on the bottom axis and the second on the left axis?
With bets regards
Vladimir
Vladimir
Re: Two annotations for cursor tool
Hi Vladimir,
You can add as many TAnnotationTools as you want and calculate their position at the TColorLineTool OnDragLine event.
You can add as many TAnnotationTools as you want and calculate their position at the TColorLineTool OnDragLine event.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 14
- Joined: Tue Apr 08, 2014 12:00 am
Re: Two annotations for cursor tool
Hi Yeray
I know, I can add, but as cursor tool has one X-annotation tool, for symmetry can be the second Y-annotation.
I know, I can add, but as cursor tool has one X-annotation tool, for symmetry can be the second Y-annotation.
With bets regards
Vladimir
Vladimir
Re: Two annotations for cursor tool
Hi Vladimir,
Sorry, I misread it and understood you were talking about the TAnnotationTool in the TColorLineTool, while you clearly mentioned it's about the TAnnotationTool on the TCursorTool.
I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=1019
Sorry, I misread it and understood you were talking about the TAnnotationTool in the TColorLineTool, while you clearly mentioned it's about the TAnnotationTool on the TCursorTool.
I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=1019
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 14
- Joined: Tue Apr 08, 2014 12:00 am
Re: Two annotations for cursor tool
Hi Yeray
As I can this issue is not fixed yet.
Would you like to tell, how this can be fixed?
As I can this issue is not fixed yet.
Would you like to tell, how this can be fixed?
With bets regards
Vladimir
Vladimir
Re: Two annotations for cursor tool
Hi Vladimir,
Note this is a feature request to be implemented, more than a bug to be fixed.
I'm afraid you are right, this hasn't been implemented yet, but since the same result can already be done without much effort with the current set of tools, I wouldn't give this a much elevated priority.
Note this is a feature request to be implemented, more than a bug to be fixed.
I'm afraid you are right, this hasn't been implemented yet, but since the same result can already be done without much effort with the current set of tools, I wouldn't give this a much elevated priority.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 31
- Joined: Fri Nov 21, 2014 12:00 am
Re: Two annotations for cursor tool
Exactly. I did it like this:Yeray wrote:since the same result can already be done without much effort
Code: Select all
procedure TForm8.cursorToolChange(
Sender: TCursorTool;
x, y: Integer;
const XValue, YValue: Double;
Series: TChartSeries;
ValueIndex: Integer);
begin
annotationTool.Top := Y - (annotationTool.Height div 2);
annotationTool.Text := YValue.ToString();
end;
- Attachments
-
- cursorTool and annotationTool.png (13.24 KiB) Viewed 13642 times