How to Set DateTime Series on X Axis On Price Chart

Hi,
I am new in Amibroker, I create two the simple chart below.
The first chart show Date on X Axis but The second is missing
How to recovery Date on X Axis again.
monthLine2

monthLine

Right click chart pane and choose "Parameters" at the top of appearing context menu.
Then within that "Parameters" window go to "Axes&Grid" tab and then set "Show Date axis?" to "Yes".

(Note: You can open very same Parameters window even quicker via CTRL+R (after selecting chart pane))

810

522


You may add function SetChartOptions to show date axis by default after initial insertion of your AFL to chart.

Example

SetChartOptions( 0, chartShowDates | chartShowArrows | chartWrapTitle );
2 Likes