Udostępnij za pośrednictwem


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

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

Options

  • Title
    Type a title to appear near the y-axis. Click the style button to edit the style of the text.
  • Align
    Select an option to indicate the position of the title.
  • Top
    Choose this option to align the title with the top of the y-axis.
  • Center
    Choose this option to align the title with the center of the y-axis.
  • Bottom
    Choose this option to align the title with the bottom of the y-axis.
  • Scale
    Provides information about the scale to use in the chart.
  • Minimum
    Type the minimum value for the y-axis. If omitted, the minimum value is determined by the data returned by the dataset.
  • Maximum
    Type the maximum value for the y-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 x-axis. If omitted, the value is determined by the chart type.
  • Show labels
    Choose this option to display labels on the y-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.
  • 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 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 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, a column chart that normally displays labels at the bottom and columns reaching upward displays labels at the top and columns reaching downward when this option is selected.
  • Logarithmic scale
    Choose this option to indicate that the y-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)