This looks very promising!
Is there a way make the bottom and left axis labels look like the ones you put on the right and top?
Or, can I swap them and hide the right and top? Meaning if I put my values into the top and right and do what you did for the bottom and left.
It all looks great if I hide the current bottom and left axis. But, I would like to see the nice evenly spaced axis labels you displayed on the right and top to be moved to the bottom and left.
Thanks!
Getting pixel values from axis label values
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi dpatch,
Yes, this is possible. It's simple but a little bit tricky as all axes are necessary here:
Left and bottom: They are necessary having automatic scaling (even you added custom labels to them) for plotting the series correctly as they are the default axes.
Right and top: They are necessary for being able to calculate necessary values for polygon points.
Having said that you can easily achieve what you request adding code below to DispImgBtnClick method.
That way left and bottom axes will do their job but won't be displayed and right and top axes moved to their position. Now you can also remove custom labels code as related axes are not visible.
I'll send you an e-mail with modified project.
BTW: For more information on axes settings you may be interested in having a look at Tutorial 4 - Axis Control. Tutorials can be found at TeeChart's program group.
Yes, this is possible. It's simple but a little bit tricky as all axes are necessary here:
Left and bottom: They are necessary having automatic scaling (even you added custom labels to them) for plotting the series correctly as they are the default axes.
Right and top: They are necessary for being able to calculate necessary values for polygon points.
Having said that you can easily achieve what you request adding code below to DispImgBtnClick method.
Code: Select all
Chart1.Axes.Top.OtherSide:=false;
Chart1.Axes.Right.OtherSide:=false;
Chart1.Axes.Left.Visible:=false;
Chart1.Axes.Bottom.Visible:=false;
I'll send you an e-mail with modified project.
BTW: For more information on axes settings you may be interested in having a look at Tutorial 4 - Axis Control. Tutorials can be found at TeeChart's program group.
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 |
Narcis,
This is it! This is exactly what I've been trying to do for months! You guys are great...VERY responsive.
I looked for the toturials and I found I am missing a file, TeeChart8Manual.chm. I need to upgrade anyways so I am sure I will get it installed then.
Again, thank you very much for your "continued" support.
dave
This is it! This is exactly what I've been trying to do for months! You guys are great...VERY responsive.
I looked for the toturials and I found I am missing a file, TeeChart8Manual.chm. I need to upgrade anyways so I am sure I will get it installed then.
Again, thank you very much for your "continued" support.
dave
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi dave,
You're very welcome! I'm glad to hear we finally found what you needed.
BTW: TeeChart8Manual.chm is already included in v8.04's Docs folder. Are you using v8.04?
You're very welcome! I'm glad to hear we finally found what you needed.
BTW: TeeChart8Manual.chm is already included in v8.04's Docs folder. Are you using v8.04?
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 |