Focal Point
Set Label for Y Axis

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2031019331

November 07, 2005, 09:52 AM
<We_Focus>
Set Label for Y Axis
Hi All

if we add code below to graph it displays $ Symbol with the Y Axis Label Values

setTextFormatPreset(getY1Label(),6);

But instead of Dollar symbol i need EURO symbol

Thanks in Advance
November 07, 2005, 12:47 PM
Tony A
Web,

The standard format is the symbol detailed by your installation and NLS (National Language Support), however, you can set the symbol to any other character by using setTextFormatPattern and using the \uxxxx pattern for the character required. The xxxx represets 4 hex bytes with the Yen (�) being #00A5, the Euro is #20AC and the British Pound is #00A3.

To use the format you have to set the preset to -1

setTextFormatPreset(getY1Label(),-1);
setTextFormatPattern(getY1Label(),"\u20AC");
November 11, 2005, 03:04 AM
<We_Focus>
Hi Tony

it Worked
Thanks for your help