Changing font size on chart

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

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)   + " | "     ; 

hello
Your Question is already covered in this thread. Did you read this?

1 Like

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?

Annotation 2020-06-30 041326

1 Like

Hi

To show the date in the bottom of the chart pane, you have 2 options:

  1. Write on top of your afl SetChartOptions
    SetChartOptions(1, chartShowArrows | chartShowDates);

  2. Easy way is to Right click on chart open Properties window and click on Show date axis

image

1 Like

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

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!

Annotation 2020-06-30 054638

For some reason properties is greyed out when I right click as you said, so I cant get into the properties?

Sorry i mean Parameters window... i rewrote it below

  1. Easy way is to Right click on chart open Parameters window and click on Show date axis

That did it!
Thanks again.

If you have time, Out of curiosity, Any idea why properties is greyed out?