hello
i add few customAxes and on every axes i have labels on the left side of axis; i would like to show them on right side like default has "right axis"
and next question is : i would like to set dynamically position of axes and it is dificult to use .PercentPosition (for example when resizing form) - is there some other method to set position of axex ??
thanks for help
labels on customAxis
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi guzial,
And also set their position relative to some chart element in TeeChart's OnAfterDraw event.
If this doesn't help please give us more information about what are you exactly trying to achieve.
You can set custom axes to OtherSide and set their position to 100%:i add few customAxes and on every axes i have labels on the left side of axis; i would like to show them on right side like default has "right axis"
Code: Select all
Chart1.CustomAxes.Items[0].OtherSide:=true;
Chart1.CustomAxes.Items[0].PositionPercent:=100;
You may set their units to pixels:and next question is : i would like to set dynamically position of axes and it is dificult to use .PercentPosition (for example when resizing form) - is there some other method to set position of axex ??
Code: Select all
Chart1.CustomAxes.Items[0].PositionUnits:=muPixels;
If this doesn't help please give us more information about what are you exactly trying to achieve.
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 |
you gave me some important hands; i didint try but im going to set dynamically position of my 3 custom axex - theirs position depend on max width of lables on every axex. If i have some problems i will write thanks a lot [/quote]If this doesn't help please give us more information about what are you exactly trying to achieve.