How to change font and size of Text Objects

Questions about MultiCharts and user contributed studies.
LMC
Posts: 28
Joined: 08 Jul 2010

How to change font and size of Text Objects

Postby LMC » 07 Oct 2010

I try to display the value of an indicator as Text Objects in SubChart #1. I can change its color, horizontal and vertical position, 1 or 2 or no decimal places... but I cannot change its font and size from PowerLanguage. And I cannot make changes from its 'Properties' window too.
Can anyone help please ?
Thanks.

User avatar
Dave Masalov
Posts: 1712
Joined: 16 Apr 2010
Has thanked: 51 times
Been thanked: 485 times

Re: How to change font and size of Text Objects

Postby Dave Masalov » 07 Oct 2010

Dear LMC,

You can use text_setfontname and text_setsize keywords. Please look for more text_*** keywords in the PowerLanguage editor hint. You can find their description in the PLE help (F1).

LMC
Posts: 28
Joined: 08 Jul 2010

Re: How to change font and size of Text Objects

Postby LMC » 07 Oct 2010

Thanks Dave.

User avatar
Dave Masalov
Posts: 1712
Joined: 16 Apr 2010
Has thanked: 51 times
Been thanked: 485 times

Re: How to change font and size of Text Objects

Postby Dave Masalov » 11 Oct 2010

Dear LMC,

You are welcome.


Return to “MultiCharts”