Title Font Size

Is it possible to change just the Title font size? I like to make it bigger.

Chart Title uses Axis Font (which can be set in Tools->Preferences, Miscellaneous tab.

2 Likes

You may use GFX for custom sized title

procedure GfxTitle(fnt, fntsize, fntweight ) {
	/// source @link http://forum.amibroker.com/t/title-font-size/704/2
	_N( MyTitle = StrFormat( Name() + " - " + Interval(2) + " - " + DateTimeToStr(SelectedValue(DateTime())) + " Open %g, Hi %g, Lo %g, Close %g (%.1f%%), Vol %g",
							   O, H, L, C, SelectedValue( ROC( C, 1 ) ), V ) );
	//
	GfxSetBkMode( 2 );
	GfxSetTextAlign( 0 | 0 );
	GfxSetBkColor( colorBlack );
	GfxSetTextColor( colorLightGrey );
	GfxSelectFont( fnt, fntsize, fntweight, 0, 0, 0 );
	GfxTextOut( MyTitle, 0, 0 );
}

Title = "";
GfxTitle("ARIAL", 16, 700);

4 Likes

thank you friend. Now I modify like this.

Untitled

1 Like

Dear Zhaud
I can't do the same your screen. Could you please send me your code?
Thks.