|
Go
![]() |
New
![]() |
Search
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Is there some trick to get Focus to respond to any of the setFont commands within the
ON GRAPH SET GRAPHSTYLE * ENDSTYLE block? Some of the font sizes work like 1 to 9. Than everything seems to default to some large font size. This message has been edited. Last edited by: kerry, |
||
|
|
Master |
Allen,
What release? What platform? Can you give a repro using the car, or any other standard IB foc file. Then you might be overwhelmed with help. |
|||
|
|
Member |
I guess I just expect to be able to type;
setFontSizeAbsolute(getLegendText(),true); setFontName(getY1Label(),"TimesRoman"); setFontSize(getY1Label(),6); and than setFontSizeAbsolute(getLegendText(),true); setFontName(getY1Label(),"TimesRoman"); setFontSize(getY1Label(),9); And get different results, just like the documentations examples. Unless there is some other combination of commands needed which are assumed that everyone knows you have to use in addition to the above. |
|||
|
|
Expert |
Allen,
setPlace(false); T Old FOCUS coders never die, they just become functionally stable. (Tony A
|
|||||
|
|
Master |
Allen,
Totally illogical, You cannot apply different styling to the same object. getLegendText() identifies all legends. It does not take a locator for example getLegendText(1) Because of that you cannot vary the text size or font of individual legends. Same applies to labels. |
|||
|
|
Member |
I guess I did not make it clear, if I run the graph with the font value set to 6 and than run it with the font value equal to 9, there is no noticeable difference in the results. I am aware that if I run the graph with different values in the same run, it would not work.
|
|||
|
|
Member |
Tony A,
seting setPlace(false), appears to work. But now the x axis is all cramp together. I guess I now have to play around with the font on the x axis now. |
|||
|
|
Master |
OK,
On that basis setPlace(false); as Tony suggested will have an affect, as this default overides a lot of the API calls coded manually. Using false however will probabley have a major impact on the output meaning you will have to include many more API calls to get what you want. (edit) You replied first Allen and discovered exacrtly what I meant |
|||
|
|
Member |
Tony,
I forgot to tell you thanks for your response. I still working on the font for x axis. |
|||
|
|
Expert |
Allen,
As JG states, setPlace(false); does mean more coding as the auto placement of graph components is turned off. However, I sometimes prefer this as I can control the output more. As for the x1 axis font, look towards O1Title etc. T Old FOCUS coders never die, they just become functionally stable. (Tony A
|
|||||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

