Chart Properties - X Axis Tab (Visual Studio Report Designer)

Use the X Axis tab of the Chart Properties dialog box to define the appearance of the x-axis of the chart.

Options

  • Title
    Type a title to appear near the x-axis. Click the style button to edit the style of the text.
  • Align
    Select an option to indicate the position of the title.
  • Left
    Choose this option to align the title with the left side of the x-axis.
  • Center
    Choose this option to align the title with the center of the x-axis.
  • Right
    Choose this option to align the title with the right side of the x-axis.
  • Scale
    Provides information about the scale to use in the chart.
  • Minimum
    Type the minimum value for the x-axis. If omitted, the minimum value is determined by the data returned by the dataset.
  • Maximum
    Type the maximum value for the x-axis. If omitted, the maximum value is determined by the data returned by the dataset.
  • Cross at
    Type the value at which to cross the y-axis. If omitted, the value is determined by the chart type.
  • Show labels
    Choose this option to display labels on the axis. Click the style button to edit the style of the text.
  • Format code
    Type a Microsoft .NET Framework formatting code or an expression that evaluates to a .NET Framework formatting code. For information, see the .NET Framework SDK documentation.
  • Numeric or time-scale values
    Choose this option to indicate that the values on the x-axis are scalar values. If selected, the chart displays the values on the axis on a scale, that is, the chart fills in the numbers or dates that are "missing" from the dataset.
  • Gridlines
    Provides information about the gridlines to use in the chart.
  • Show major
    Choose this option to display major gridlines in the chart. Click the style button to edit the style of the lines.
  • Interval
    Type an interval at which the major gridlines appear. If omitted, the gridlines are divided evenly on the chart.
  • Tick mark
    Select the position of the major tick marks on the x-axis.
  • Show minor
    Choose this option to display minor gridlines in the chart. Click the style button to edit the style of the lines.
  • Interval
    Type an interval at which the minor gridlines appear. If omitted, the gridlines are divided evenly on the chart.
  • Tick mark
    Select the position of the minor tick marks on the x-axis.
  • Side margins
    Choose this option to use padding between the chart elements and the sides of the chart.
  • Interlaced strips
    Choose this option to display alternating light and dark areas between gridlines.
  • Reversed
    Choose this option to reverse the direction of the chart. For example, by default, a column chart displays the y-axis on the left side of the chart and categories from left to right. When this option is selected, the chart displays y-axis on the right side of the chart and categories from right to left.
  • Logarithmic scale
    Choose this option to indicate that the x-axis scale is logarithmic.

See Also

Concepts

Adding Charts to a Report (Visual Studio Report Designer)
ReportViewer Controls (Visual Studio)
ReportViewer Web Server and Windows Forms Controls

Other Resources

Report Designer User Interface Reference (Visual Studio)