Jaye
June 30, 2020, 1:12am
#1
Im stuck on this. I need to change the font size and even though I searched till I was cross-eyed I am not able to figure out how to do that with this format? Could someone help with this?
Chg=Ref(C,-1);
Title = EncodeColor(colorYellow)
Title = Name() + " " + EncodeColor(2) + Date() + EncodeColor(11) + " ~SW~ "
EncodeColor(colorWhite) + "{{INTERVAL}} "
EncodeColor(55) + " | O : " + EncodeColor(colorWhite) + NumToStr (O,format=1.2)
EncodeColor(55) + " | H : " + EncodeColor(colorWhite) + NumToStr(H,format=1.2) + EncodeColor(55) + " | L : " + EncodeColor(colorWhite) + NumToStr(L,format=1.2) + EncodeColor(55) + " | C : " + WriteIf( C> Chg, EncodeColor(colorBrightGreen), EncodeColor(colorRed)) + NumToStr(C,format=1.2) + EncodeColor(55) + " | Chg : " + NumToStr(ROC(C,1),format=1.2) + "%" + EncodeColor(55) + " | V : " + EncodeColor(colorWhite)
NumToStr(V,1) + " | " ;
Preferences>Misc>Axis Font
Jaye
June 30, 2020, 1:53am
#3
try that again
Chg=Ref(C,-1);
Title = EncodeColor(colorYellow) + Title = Name() + " " +
EncodeColor(2) + Date() + EncodeColor(11) + " ~SW~ " +
EncodeColor(colorWhite) + "{{INTERVAL}} " +
EncodeColor(55) + " | O : " +
EncodeColor(colorWhite) + NumToStr (O,format=1.2) +
EncodeColor(55) + " | H : " +
EncodeColor(colorWhite) + NumToStr(H,format=1.2) +
EncodeColor(55) + " | L : " +
EncodeColor(colorWhite) + NumToStr(L,format=1.2) +
EncodeColor(55) + " | C : " +
WriteIf( C> Chg, EncodeColor(colorBrightGreen),
EncodeColor(colorRed)) + NumToStr(C,format=1.2) +
EncodeColor(55) + " | Chg : " +
NumToStr(ROC(C,1),format=1.2) + "%" +
EncodeColor(55) + " | V : " +
EncodeColor(colorWhite) +
NumToStr(V,1) + " | " ;
PanoS
June 30, 2020, 11:18am
#4
hello
Your Question is already covered in this thread. Did you read this?
Is it possible to change just the Title font size? I like to make it bigger.
1 Like
Jaye
June 30, 2020, 11:41am
#5
Thanks Everyone!
one other graph issue I cant find a switch for is the dates show up on every indicator in the window, and I only need it on one in the group?
1 Like
PanoS
June 30, 2020, 12:11pm
#6
Hi
To show the date in the bottom of the chart pane, you have 2 options:
Write on top of your afl SetChartOptions
SetChartOptions(1, chartShowArrows | chartShowDates);
Easy way is to Right click on chart open Properties window and click on Show date axis
1 Like
PanoS
June 30, 2020, 12:18pm
#8
please make the fonts size smaller in the last line of the code, play little bit and then come back
GfxTitle("ARIAL", 36, 700); // fonts size is the number 36
1 Like
Jaye
June 30, 2020, 12:36pm
#9
Found the problem, my chart has literally pages of code and I just discovered that something else in the code is covering it up because it all works fine in a new chart with just bars no other code. Now I need to hunt down whats painting over it. Thanks again!
Jaye
June 30, 2020, 12:44pm
#10
For some reason properties is greyed out when I right click as you said, so I cant get into the properties?
PanoS
June 30, 2020, 12:50pm
#11
Sorry i mean Parameters window... i rewrote it below
Easy way is to Right click on chart open Parameters window and click on Show date axis
Jaye
June 30, 2020, 1:00pm
#12
That did it!
Thanks again.
If you have time, Out of curiosity, Any idea why properties is greyed out?