The macro recorder is giving the same code for adding the title for the X and Y axis. On the Y-axis I want 'Age' and on the X-axis 'Year', but after going through the recorder it gives this:
ActiveChart.Axes(xlValue, xlPrimary).AxisTitle.Text = "Age"
ActiveChart.Axes(xlValue, xlPrimary).AxisTitle.Text = "Year"
When the program is run, there is nothing in the X-axis title, and 'Year' in the Y-axis. How do I diversity the codes so that the correct title goes to the correct axis?
~G.
the horizontal axis for chart is called X-axis.
after creating your graph go to the layout tab, axis title then choose either horizontal or vertical axis
The independent variable is on the horizontal axis.
The "x-axis" usually refers to the horizontal axis. In Excel, that would be relevant for graphs created with Excel.
It is the horizontal line at the bottom of the chart.
No, it's the horizontal axis (x-axis).
The horizontal axis is the one going across the bottom of a chart. It can be the X axis in some kinds of charts or the category axis in other kinds of charts.
Grid lines.
no
on the horizontal axis!
It is a horizontal axis
The horizontal axis is known as the x-axis.