[Chart Legend] Change cursor when over the legend
[Chart Legend] Change cursor when over the legend
Hello,
Is it possible to change the cursor when the mouse is floating over the legend, like with the axis and series ? I can't find any cursor property in the legend class.
Is it possible to change the cursor when the mouse is floating over the legend, like with the axis and series ? I can't find any cursor property in the legend class.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi bertrod,
Yes, you can do this:
Yes, you can do this:
Code: Select all
procedure TForm1.Chart1MouseMove(Sender: TObject; Shift: TShiftState; X,
Y: Integer);
begin
if Chart1.Legend.Clicked(X,Y) <> -1 then Chart1.OriginalCursor:=crNoDrop;
end;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Thanks.
I have also a problem with the annotations : if I change the annotation's cursor, the dragging action is not fluently anymore.
You can see this in the ChartOffice program : if you create an annotation and then change its cursor to handpoing, you'll see that there are little problems when you drag it. Is it a bug ? And is there a way to correct it ?
I have also a problem with the annotations : if I change the annotation's cursor, the dragging action is not fluently anymore.
You can see this in the ChartOffice program : if you create an annotation and then change its cursor to handpoing, you'll see that there are little problems when you drag it. Is it a bug ? And is there a way to correct it ?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi bertrod,
I'm not able to reproduce that problem using TeeChartOffice v3 (the version shipped with TeeChart Pro v7 VCL). Which TeeChartOffice version are you using?
I'm not able to reproduce that problem using TeeChartOffice v3 (the version shipped with TeeChart Pro v7 VCL). Which TeeChartOffice version are you using?
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
I have the version 3.0 of TeeChartOffice.
1. Create an annotation
2. Move it somewhere
3. Dbl-click on it to edit it
4. Change the cursor to Handpoint
5. Now click on the left of the annotation, and move it to the right
In my version, the annotation is moved only the mouse pointer is leaving the shape. So when i move the mouse, the annotation is moving in a jerky way, like stepwise, instead of fluently.
1. Create an annotation
2. Move it somewhere
3. Dbl-click on it to edit it
4. Change the cursor to Handpoint
5. Now click on the left of the annotation, and move it to the right
In my version, the annotation is moved only the mouse pointer is leaving the shape. So when i move the mouse, the annotation is moving in a jerky way, like stepwise, instead of fluently.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi bertrod,
I'm still unable to reproduce the problem here following your steps and using TeeChart Pro v7.06 VCL. Which TeeChart version are you using?
Thanks in advance.
I'm still unable to reproduce the problem here following your steps and using TeeChart Pro v7.06 VCL. Which TeeChart version are you using?
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi bertrod,
Yes, it moves fluently in my version whichever the cursor is. To know which TeeChart version you have you can right-click on a TChart in a form. However, you could try downloading v7.06 from our Customer Download Area.
Yes, it moves fluently in my version whichever the cursor is. To know which TeeChart version you have you can right-click on a TChart in a form. However, you could try downloading v7.06 from our Customer Download Area.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Yes, v7.06 is fully backwards compatible with v7.04 and has some additional features and bug fixes.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |